A library for the WTV020SD sound breakout board
Dependents: Nucleo_SoundBoardTest Robot Progetto_finale Progetto_finale_noLCD ... more
Diff: soundboard.cpp
- Revision:
- 2:d6b7b90b4387
- Parent:
- 0:03560ce39755
--- a/soundboard.cpp Sun Nov 02 11:09:12 2014 +0000 +++ b/soundboard.cpp Mon Nov 24 20:09:32 2014 +0000 @@ -66,3 +66,10 @@ } wait_ms(20); } +void soundboard::playPerhapsAsync(int trackNum) +{ + if(!_busyPin) + { + playAsync(trackNum); + } +}