@@ -15,6 +15,8 @@ void setup() { | |||
//pinMode(4, INPUT_PULLUP); | |||
//pinMode(10, INPUT_PULLUP); | |||
Serial.begin(9600); | |||
// wait up to 10 seconds for Arduino Serial Monitor | |||
unsigned long startMillis = millis(); | |||
while (!Serial && (millis() - startMillis < 10000)) ; |
@@ -17,6 +17,8 @@ void setup() { | |||
//pinMode(4, INPUT_PULLUP); | |||
//pinMode(10, INPUT_PULLUP); | |||
Serial.begin(9600); | |||
// wait up to 10 seconds for Arduino Serial Monitor | |||
unsigned long startMillis = millis(); | |||
while (!Serial && (millis() - startMillis < 10000)) ; |
@@ -13,6 +13,8 @@ void setup() { | |||
//pinMode(4, INPUT_PULLUP); | |||
//pinMode(10, INPUT_PULLUP); | |||
Serial.begin(9600); | |||
// wait for Arduino Serial Monitor | |||
while (!Serial) ; | |||
delay(100); |
@@ -29,6 +29,7 @@ AudioConnection patchCord3(mixer1, dac1); | |||
#define FLASH_CHIP_SELECT 6 | |||
void setup() { | |||
Serial.begin(9600); | |||
AudioMemory(8); //4 | |||
delay(2000); | |||
@@ -38,6 +38,8 @@ void setup() { | |||
//pinMode(4, INPUT_PULLUP); | |||
//pinMode(10, INPUT_PULLUP); | |||
Serial.begin(9600); | |||
while (!Serial) ; | |||
delay(100); | |||