Browse Source

Teensy LC needs more time

Change delay(5) to delay(25)
dds
Frank 3 years ago
parent
commit
29657227d0
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      examples/WavFilePlayer/WavFilePlayer.ino

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

@@ -92,7 +92,7 @@ void playFile(const char *filename)
playWav1.play(filename);

// A brief delay for the library read WAV info
delay(5);
delay(25);

// Simply wait for the file to finish playing.
while (playWav1.isPlaying()) {

Loading…
Cancel
Save