Просмотр исходного кода

Teensy LC needs more time

Change delay(5) to delay(25)
dds
Frank 4 лет назад
Родитель
Сommit
29657227d0
Аккаунт пользователя с таким Email не найден
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      examples/WavFilePlayer/WavFilePlayer.ino

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

Загрузка…
Отмена
Сохранить