Browse Source
Teensy LC needs more time
Change delay(5) to delay(25)
dds
Frank
3 years ago
No account linked to committer's email address
1 changed files with
1 additions and
1 deletions
-
examples/WavFilePlayer/WavFilePlayer.ino
|
|
|
|
|
|
|
|
playWav1.play(filename); |
|
|
playWav1.play(filename); |
|
|
|
|
|
|
|
|
// A brief delay for the library read WAV info |
|
|
// A brief delay for the library read WAV info |
|
|
delay(5); |
|
|
|
|
|
|
|
|
delay(25); |
|
|
|
|
|
|
|
|
// Simply wait for the file to finish playing. |
|
|
// Simply wait for the file to finish playing. |
|
|
while (playWav1.isPlaying()) { |
|
|
while (playWav1.isPlaying()) { |