I am tired of seeing Serial.begin(9600); where 9600 is not going to be used at all. Can Serial.begin(Serial.baud()); be acceptable?dds
void setup() { | void setup() { | ||||
AudioMemory(4); | AudioMemory(4); | ||||
Serial.begin(1); | |||||
Serial.begin(Serial.baud()); | |||||
} | } | ||||
elapsedMillis fps; | elapsedMillis fps; |
audioShield.inputSelect(myInput); | audioShield.inputSelect(myInput); | ||||
audioShield.volume(75); | audioShield.volume(75); | ||||
audioShield.unmuteLineout(); | audioShield.unmuteLineout(); | ||||
Serial.begin(1); | |||||
Serial.begin(Serial.baud()); | |||||
} | } | ||||
elapsedMillis fps; | elapsedMillis fps; |