Hi there,
I am hoping someone can help with this:
I have an ITead 3.2" touch screen with an onboard SD card slot. The SD card slot / SD card are working fine, but only after I set SPI_QUARTER_SPEED, as in this example:
// we'll use the initialization code from the utility libraries
// since we're just testing if the card is working!
if (!card.init(SPI_QUARTER_SPEED, chipSelect)) {
Serial.println("initialization failed. Things to check:");
Serial.println("* is a card is inserted?");
Serial.println("* Is your wiring correct?");
Serial.println("* did you change the chipSelect pin to match your shield or module?");
return;
} else {
Serial.println("Wiring is correct and a card is present.");
}
however how do i set the SPI speed in the case where I use SD.begin (as in http://arduino.cc/en/Tutorial/Datalogger)? Has the SPI speed setting been dropped from the newer version of the library? There is no more reference to any "init" or "SPI_QUARTER_SPEED" anymore.
I've tried setting SPI speed globally via the SPI library but that didn't work.
Any suggestions?