Go Down

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

peak@arduino

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

peak@arduino

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