Go Down

Topic: SD library on Mega (Read 447 times) previous topic - next topic

Hello All,

I have a LCD shield with an SD card reader: http://www.electrokit.com/2-4-tft-lcd-touch-shield-for-arduino.49420
Screen and SD card reader works ok on the UNO 16MHz. In a Mega 16MHz the screen works but not the SD card. Tried all chip select pins (SD_CS) from 0-69, the  SD.begin(SD_CS) fails. Further investigation shows that it's card.init(SPI_HALF_SPEED, SD_CS) that fails.

Any clue?

Regard
Peter

Never mind, used Adafruit's SD library instead, working.
https://github.com/adafruit/SD with:
SD.begin(10, 11,12,13)
Regards
Peter

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy