mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +01:00
Adding warning about leaving the hardware SS pin as an output.
This commit is contained in:
parent
29384e2f61
commit
012b4b0f0f
@ -6,7 +6,10 @@ void setup()
|
||||
{
|
||||
Serial.begin(9600);
|
||||
Serial.print("Initializing SD card...");
|
||||
// On the Ethernet Shield, CS is pin 4.
|
||||
// On the Ethernet Shield, CS is pin 4. Note that even if it's not
|
||||
// used as the CS pin, the hardware SS pin (10 on most Arduino boards,
|
||||
// 53 on the Mega) must be left as an output or the SD library
|
||||
// functions will not work.
|
||||
if (!SD.begin(4)) {
|
||||
Serial.println("failed!");
|
||||
return;
|
||||
|
@ -6,7 +6,10 @@ void setup()
|
||||
{
|
||||
Serial.begin(9600);
|
||||
Serial.print("Initializing SD card...");
|
||||
// On the Ethernet Shield, CS is pin 4.
|
||||
// On the Ethernet Shield, CS is pin 4. Note that even if it's not
|
||||
// used as the CS pin, the hardware SS pin (10 on most Arduino boards,
|
||||
// 53 on the Mega) must be left as an output or the SD library
|
||||
// functions will not work.
|
||||
if (!SD.begin(4)) {
|
||||
Serial.println("failed!");
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user