Author Topic: SD CARD NHD 1.69 1601128ASC3 with Arduino Leonardo  (Read 1455 times)

vgarcia

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
SD CARD NHD 1.69 1601128ASC3 with Arduino Leonardo
« on: November 10, 2016, 04:01:24 AM »
Hello,

I have some problems with the SD CARD in my module.
I am trying to load the program "bmp" for testing the display, but i have a problem eith the SD card.

init
Initializing SD card...failed!


The original code is......and i have this for Arduino Leonardo

#define sclk 13               #define sclk 13 
#define mosi 11             #define mosi 11
#define cs   5                 #define cs   5
#define rst  6                 #define rst  1
#define dc   4                 #define dc   0


#define SD_CS 10         #define SD_CS 8


also i tríed to add this 2 lines in the setup:

 pinMode(SD_CS, OUTPUT);
  digitalWrite(SD_CS, HIGH);


but doesn't work!

The format of the SD is FAT32



Thanks.

 

Arduino LCD library not working with newhaven display NHD‐0420H1Z‐FL‐GWB-3V3

Started by c2hollowBoard Character LCDs

Replies: 9
Views: 15241
Last post July 10, 2014, 08:46:06 AM
by Michael_L
MOVED: 320x240 sunlight readable dispaly to arduino + library

Started by Michael_LBoard Customer Projects

Replies: 0
Views: 4484
Last post October 23, 2015, 11:45:28 AM
by Michael_L
Arduino demo code for running the NHD-0420DZW-AB5 OLED display via SPI

Started by llameroBoard OLEDs

Replies: 1
Views: 1655
Last post May 21, 2018, 11:28:30 AM
by Ted_M
How do I stack a DAC shield between a 4.3" LCD Display and an Arduino Mega 2560?

Started by wa6htpBoard Customer Projects

Replies: 1
Views: 59
Last post September 19, 2018, 09:14:45 AM
by Ted_M
320x240 sunlight readable dispaly to arduino + library

Started by vonz66Board Graphic LCDs

Replies: 1
Views: 5812
Last post October 23, 2015, 11:46:04 AM
by Michael_L