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 11 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



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


elapsedMillis fps; elapsedMillis fps;

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

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;

Loading…
Cancel
Save