PaulStoffregen пре 9 година
родитељ
комит
2ab60772d8
4 измењених фајлова са 20 додато и 0 уклоњено
  1. +5
    -0
      examples/CopyFromSD/CopyFromSD.ino
  2. +5
    -0
      examples/EraseEverything/EraseEverything.ino
  3. +5
    -0
      examples/ListFiles/ListFiles.ino
  4. +5
    -0
      examples/RawHardwareTest/RawHardwareTest.ino

+ 5
- 0
examples/CopyFromSD/CopyFromSD.ino Прегледај датотеку

@@ -10,6 +10,11 @@ void setup() {
//SPI.setSCK(14); // Audio shield has SCK on pin 14
//SPI.setMOSI(7); // Audio shield has MOSI on pin 7

//uncomment these if you have other SPI chips connected
//to keep them disabled while using only SerialFlash
//pinMode(4, INPUT_PULLUP);
//pinMode(10, INPUT_PULLUP);

// wait up to 10 seconds for Arduino Serial Monitor
unsigned long startMillis = millis();
while (!Serial && (millis() - startMillis < 10000)) ;

+ 5
- 0
examples/EraseEverything/EraseEverything.ino Прегледај датотеку

@@ -10,6 +10,11 @@ void setup() {
//SPI.setSCK(14); // Audio shield has SCK on pin 14
//SPI.setMOSI(7); // Audio shield has MOSI on pin 7

//uncomment these if you have other SPI chips connected
//to keep them disabled while using only SerialFlash
//pinMode(4, INPUT_PULLUP);
//pinMode(10, INPUT_PULLUP);

// wait up to 10 seconds for Arduino Serial Monitor
unsigned long startMillis = millis();
while (!Serial && (millis() - startMillis < 10000)) ;

+ 5
- 0
examples/ListFiles/ListFiles.ino Прегледај датотеку

@@ -8,6 +8,11 @@ void setup() {
//SPI.setSCK(14); // Audio shield has SCK on pin 14
//SPI.setMOSI(7); // Audio shield has MOSI on pin 7

//uncomment these if you have other SPI chips connected
//to keep them disabled while using only SerialFlash
//pinMode(4, INPUT_PULLUP);
//pinMode(10, INPUT_PULLUP);

// wait for Arduino Serial Monitor
while (!Serial) ;
delay(100);

+ 5
- 0
examples/RawHardwareTest/RawHardwareTest.ino Прегледај датотеку

@@ -32,6 +32,11 @@ void setup() {
//SPI.setSCK(14); // Audio shield has SCK on pin 14
//SPI.setMOSI(7); // Audio shield has MOSI on pin 7

//uncomment these if you have other SPI chips connected
//to keep them disabled while using only SerialFlash
//pinMode(4, INPUT_PULLUP);
//pinMode(10, INPUT_PULLUP);

while (!Serial) ;
delay(100);


Loading…
Откажи
Сачувај