From 1c28dab57b1aaa1772ab91dd7d01ac89943aa556 Mon Sep 17 00:00:00 2001 From: Scott Fitzgerald Date: Sun, 2 Feb 2014 14:35:04 +0400 Subject: [PATCH] Updated Listfiles SD example Changed SS pin to 4 for consistency with other examples --- libraries/SD/examples/listfiles/listfiles.ino | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/SD/examples/listfiles/listfiles.ino b/libraries/SD/examples/listfiles/listfiles.ino index 08ded5057..2bf8e6871 100644 --- a/libraries/SD/examples/listfiles/listfiles.ino +++ b/libraries/SD/examples/listfiles/listfiles.ino @@ -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; }