We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d59fcb8 commit df00d3eCopy full SHA for df00d3e
libraries/SD/examples/CardInfo/CardInfo.pde
@@ -10,11 +10,14 @@
10
** MOSI - pin 11 on Arduino Uno/Duemilanove/Diecimila
11
** MISO - pin 12 on Arduino Uno/Duemilanove/Diecimila
12
** CLK - pin 13 on Arduino Uno/Duemilanove/Diecimila
13
- ** CS - depends on your SD card shield or module
+ ** CS - depends on your SD card shield or module.
14
+ Pin 4 used here for consistency with other Arduino examples
15
16
17
created 28 Mar 2011
18
by Limor Fried
19
+ modified 16 Mar 2011
20
+ by Tom Igoe
21
*/
22
// include the SD library:
23
#include <SD.h>
@@ -28,7 +31,7 @@ SdFile root;
28
31
// Arduino Ethernet shield: pin 4
29
32
// Adafruit SD shields and modules: pin 10
30
33
// Sparkfun SD shield: pin 8
-const int chipSelect = 8;
34
+const int chipSelect = 4;
35
36
void setup()
37
{
0 commit comments