mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-30 19:52:13 +01:00
Updated Listfiles SD example
Changed SS pin to 4 for consistency with other examples
This commit is contained in:
parent
017326acc6
commit
1c28dab57b
@ -15,6 +15,8 @@
|
||||
by David A. Mellis
|
||||
modified 9 Apr 2012
|
||||
by Tom Igoe
|
||||
modified 2 Feb 2014
|
||||
by Scott Fitzgerald
|
||||
|
||||
This example code is in the public domain.
|
||||
|
||||
@ -38,7 +40,7 @@ void setup()
|
||||
// or the SD library functions will not work.
|
||||
pinMode(10, OUTPUT);
|
||||
|
||||
if (!SD.begin(10)) {
|
||||
if (!SD.begin(4)) {
|
||||
Serial.println("initialization failed!");
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user