waveplayer with play pause
Dependents: WavePlayer_HelloWorld_RTOS5
Diff: wave_player.h
- Revision:
- 3:a94dd18e8d8e
- Parent:
- 1:acc3e18e77ad
diff -r cb60c55b6628 -r a94dd18e8d8e wave_player.h --- a/wave_player.h Sun Dec 12 20:08:11 2021 +0000 +++ b/wave_player.h Wed Dec 15 17:16:51 2021 +0000 @@ -38,6 +38,8 @@ * @param _dac pointer to an AnalogOut object to which the samples are sent. */ wave_player(AnalogOut *_dac); +short unsigned dac_data_pub; +void update_level(); /** the player function. *