//pinMode(4, INPUT_PULLUP); | //pinMode(4, INPUT_PULLUP); | ||||
//pinMode(10, INPUT_PULLUP); | //pinMode(10, INPUT_PULLUP); | ||||
Serial.begin(9600); | |||||
// 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(); | ||||
while (!Serial && (millis() - startMillis < 10000)) ; | while (!Serial && (millis() - startMillis < 10000)) ; |
//pinMode(4, INPUT_PULLUP); | //pinMode(4, INPUT_PULLUP); | ||||
//pinMode(10, INPUT_PULLUP); | //pinMode(10, INPUT_PULLUP); | ||||
Serial.begin(9600); | |||||
// 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(); | ||||
while (!Serial && (millis() - startMillis < 10000)) ; | while (!Serial && (millis() - startMillis < 10000)) ; |
//pinMode(4, INPUT_PULLUP); | //pinMode(4, INPUT_PULLUP); | ||||
//pinMode(10, INPUT_PULLUP); | //pinMode(10, INPUT_PULLUP); | ||||
Serial.begin(9600); | |||||
// wait for Arduino Serial Monitor | // wait for Arduino Serial Monitor | ||||
while (!Serial) ; | while (!Serial) ; | ||||
delay(100); | delay(100); |
#define FLASH_CHIP_SELECT 6 | #define FLASH_CHIP_SELECT 6 | ||||
void setup() { | void setup() { | ||||
Serial.begin(9600); | |||||
AudioMemory(8); //4 | AudioMemory(8); //4 | ||||
delay(2000); | delay(2000); | ||||
//pinMode(4, INPUT_PULLUP); | //pinMode(4, INPUT_PULLUP); | ||||
//pinMode(10, INPUT_PULLUP); | //pinMode(10, INPUT_PULLUP); | ||||
Serial.begin(9600); | |||||
while (!Serial) ; | while (!Serial) ; | ||||
delay(100); | delay(100); | ||||