pinMode(WIZNET_RESET_PIN, OUTPUT);digitalWrite(WIZNET_RESET_PIN, HIGH);delay(50);digitalWrite(WIZNET_RESET_PIN, LOW);delay(50);digitalWrite(WIZNET_RESET_PIN, HIGH);delay(100);pinMode(10, OUTPUT); // set the SS pin as an output (necessary!) digitalWrite(10, HIGH); // but turn off the W5100 chip![code]uint8_t r = card.init(SPI_HALF_SPEED, 4); // Use digital 4 as the SD SS line
type any character to startcard.init failedSD errorerrorCode: 1errorData: 0type any character to start
I did not conect the pins to the icsp header but I did connect pins 11,12,13 together. And yes that is the board I am using.