Browse Source

cosmetic change

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
robsoles 10 years ago
parent
commit
c34a7ab254
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      examples/MonoPeakMeterAnalog/MonoPeakMeterAnalog.ino
  2. +1
    -1
      examples/StereoPeakMeter/StereoPeakMeter.ino

+ 1
- 1
examples/MonoPeakMeterAnalog/MonoPeakMeterAnalog.ino View File

@@ -22,7 +22,7 @@ AudioConnection c2(audioInput,audioOutput);

void setup() {
AudioMemory(4);
Serial.begin(1);
Serial.begin(Serial.baud());
}

elapsedMillis fps;

+ 1
- 1
examples/StereoPeakMeter/StereoPeakMeter.ino View File

@@ -29,7 +29,7 @@ void setup() {
audioShield.inputSelect(myInput);
audioShield.volume(75);
audioShield.unmuteLineout();
Serial.begin(1);
Serial.begin(Serial.baud());
}

elapsedMillis fps;

Loading…
Cancel
Save