浏览代码

Update examples with chip select pin info

main
PaulStoffregen 9 年前
父节点
当前提交
ccb3d3494e
共有 6 个文件被更改,包括 14 次插入2 次删除
  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 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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()
{

正在加载...
取消
保存