void setup() { | void setup() { | ||||
//uncomment these if using Teensy audio shield | //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 | // wait up to 10 seconds for Arduino Serial Monitor | ||||
unsigned long startMillis = millis(); | unsigned long startMillis = millis(); |
void setup() { | void setup() { | ||||
//uncomment these if using Teensy audio shield | //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 | // wait up to 10 seconds for Arduino Serial Monitor | ||||
unsigned long startMillis = millis(); | unsigned long startMillis = millis(); |
void setup() { | void setup() { | ||||
//uncomment these if using Teensy audio shield | //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 | // wait for Arduino Serial Monitor | ||||
while (!Serial) ; | while (!Serial) ; |
void setup() { | void setup() { | ||||
//uncomment these if using Teensy audio shield | //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) ; | while (!Serial) ; | ||||
delay(100); | delay(100); |
name=SerialFlash | name=SerialFlash | ||||
version=0.2 | |||||
version=0.3 | |||||
author=Paul Stoffregen | author=Paul Stoffregen | ||||
maintainer=Paul Stoffregen | maintainer=Paul Stoffregen | ||||
sentence=Access SPI Serial Flash memory with filesystem-like functions | sentence=Access SPI Serial Flash memory with filesystem-like functions |