Pārlūkot izejas kodu

Teensy LC needs more time

Change delay(5) to delay(25)
dds
Frank pirms 3 gadiem
vecāks
revīzija
29657227d0
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      examples/WavFilePlayer/WavFilePlayer.ino

+ 1
- 1
examples/WavFilePlayer/WavFilePlayer.ino Parādīt failu

@@ -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()) {

Notiek ielāde…
Atcelt
Saglabāt