@@ -7,8 +7,8 @@ const int FlashChipSelect = 6; | |||
void setup() { | |||
//uncomment these if using Teensy audio shield | |||
SPI.setSCK(14); // Audio shield has SCK on pin 14 | |||
SPI.setMOSI(7); // Audio shield has MOSI on pin 7 | |||
//SPI.setSCK(14); // Audio shield has SCK on pin 14 | |||
//SPI.setMOSI(7); // Audio shield has MOSI on pin 7 | |||
// wait up to 10 seconds for Arduino Serial Monitor | |||
unsigned long startMillis = millis(); |
@@ -7,8 +7,8 @@ const unsigned long testIncrement = 4096; | |||
void setup() { | |||
//uncomment these if using Teensy audio shield | |||
SPI.setSCK(14); // Audio shield has SCK on pin 14 | |||
SPI.setMOSI(7); // Audio shield has MOSI on pin 7 | |||
//SPI.setSCK(14); // Audio shield has SCK on pin 14 | |||
//SPI.setMOSI(7); // Audio shield has MOSI on pin 7 | |||
// wait up to 10 seconds for Arduino Serial Monitor | |||
unsigned long startMillis = millis(); |
@@ -5,8 +5,8 @@ const int FlashChipSelect = 6; | |||
void setup() { | |||
//uncomment these if using Teensy audio shield | |||
SPI.setSCK(14); // Audio shield has SCK on pin 14 | |||
SPI.setMOSI(7); // Audio shield has MOSI on pin 7 | |||
//SPI.setSCK(14); // Audio shield has SCK on pin 14 | |||
//SPI.setMOSI(7); // Audio shield has MOSI on pin 7 | |||
// wait for Arduino Serial Monitor | |||
while (!Serial) ; |
@@ -29,8 +29,8 @@ const unsigned long testIncrement = 4096; | |||
void setup() { | |||
//uncomment these if using Teensy audio shield | |||
SPI.setSCK(14); // Audio shield has SCK on pin 14 | |||
SPI.setMOSI(7); // Audio shield has MOSI on pin 7 | |||
//SPI.setSCK(14); // Audio shield has SCK on pin 14 | |||
//SPI.setMOSI(7); // Audio shield has MOSI on pin 7 | |||
while (!Serial) ; | |||
delay(100); |
@@ -1,5 +1,5 @@ | |||
name=SerialFlash | |||
version=0.2 | |||
version=0.3 | |||
author=Paul Stoffregen | |||
maintainer=Paul Stoffregen | |||
sentence=Access SPI Serial Flash memory with filesystem-like functions |