Browse Source

Update examples with chip select pin info

main
PaulStoffregen 9 years ago
parent
commit
ccb3d3494e
6 changed files with 14 additions and 2 deletions
  1. +2
    -0
      examples/CardInfo/CardInfo.ino
  2. +2
    -0
      examples/Datalogger/Datalogger.ino
  3. +2
    -0
      examples/DumpFile/DumpFile.ino
  4. +2
    -0
      examples/Files/Files.ino
  5. +3
    -1
      examples/ReadWrite/ReadWrite.ino
  6. +3
    -1
      examples/listfiles/listfiles.ino

+ 2
- 0
examples/CardInfo/CardInfo.ino View File

@@ -32,6 +32,8 @@ SdFile root;
// Arduino Ethernet shield: pin 4
// Adafruit SD shields and modules: pin 10
// Sparkfun SD shield: pin 8
// Teensy audio board: pin 10
// Wiz820+SD board: pin 4
// Teensy 2.0: pin 0
// Teensy++ 2.0: pin 20
const int chipSelect = 4;

+ 2
- 0
examples/Datalogger/Datalogger.ino View File

@@ -32,6 +32,8 @@
// Arduino Ethernet shield: pin 4
// Adafruit SD shields and modules: pin 10
// Sparkfun SD shield: pin 8
// Teensy audio board: pin 10
// Wiz820+SD board: pin 4
// Teensy 2.0: pin 0
// Teensy++ 2.0: pin 20
const int chipSelect = 4;

+ 2
- 0
examples/DumpFile/DumpFile.ino View File

@@ -32,6 +32,8 @@
// Arduino Ethernet shield: pin 4
// Adafruit SD shields and modules: pin 10
// Sparkfun SD shield: pin 8
// Teensy audio board: pin 10
// Wiz820+SD board: pin 4
// Teensy 2.0: pin 0
// Teensy++ 2.0: pin 20
const int chipSelect = 4;

+ 2
- 0
examples/Files/Files.ino View File

@@ -26,6 +26,8 @@ File myFile;
// Arduino Ethernet shield: pin 4
// Adafruit SD shields and modules: pin 10
// Sparkfun SD shield: pin 8
// Teensy audio board: pin 10
// Wiz820+SD board: pin 4
// Teensy 2.0: pin 0
// Teensy++ 2.0: pin 20
const int chipSelect = 4;

+ 3
- 1
examples/ReadWrite/ReadWrite.ino View File

@@ -27,9 +27,11 @@ File myFile;
// Arduino Ethernet shield: pin 4
// Adafruit SD shields and modules: pin 10
// Sparkfun SD shield: pin 8
// Teensy audio board: pin 10
// Wiz820+SD board: pin 4
// Teensy 2.0: pin 0
// Teensy++ 2.0: pin 20
const int chipSelect = 10;
const int chipSelect = 4;

void setup()
{

+ 3
- 1
examples/listfiles/listfiles.ino View File

@@ -26,9 +26,11 @@ File root;
// Arduino Ethernet shield: pin 4
// Adafruit SD shields and modules: pin 10
// Sparkfun SD shield: pin 8
// Teensy audio board: pin 10
// Wiz820+SD board: pin 4
// Teensy 2.0: pin 0
// Teensy++ 2.0: pin 20
const int chipSelect = 10;
const int chipSelect = 4;

void setup()
{

Loading…
Cancel
Save