Browse Source

Fix bug in SimultaneousPlay example

dds
PaulStoffregen 4 years ago
parent
commit
6ab951bfcf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      examples/HardwareTesting/SD_Card/SimultaneousPlay/SimultaneousPlay.ino

+ 1
- 1
examples/HardwareTesting/SD_Card/SimultaneousPlay/SimultaneousPlay.ino View File

@@ -79,7 +79,7 @@ void playNumber(int n)
Serial.print("Playing File: ");
Serial.println(filename);
Serial.flush();
playerlist[n]->play(filename.c_str());
playerlist[n % 6]->play(filename.c_str());
}

void loop() {

Loading…
Cancel
Save