Arduinio sd on Ethernet shield not working at all
问题 I am new to Arduino, and I have an ethernet shield with an SD socket on top, but it not seems to be working. I am just trying to run a simple sketch taken from the SD libraries example to get infos about the card, but the "card.init(SPI_HALF_SPEED, chipSelect)" part always fails. I have set the ChipSelect pin to 4, and set pin 10 to output, still nothing. My code: #include <SD.h> Sd2Card card; SdVolume volume; SdFile root; const int chipSelect = 4; void setup() { Serial.begin(9600); while (