Sfoglia il codice sorgente

Teensy LC needs more time

Change delay(5) to delay(25)
dds
Frank 5 anni fa
parent
commit
29657227d0
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      examples/WavFilePlayer/WavFilePlayer.ino

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

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

Loading…
Annulla
Salva