Simple fish eat program
Dependencies: mbed mbed-rtos N5110 ShiftReg Tone
classes/Sound.h
- Committer:
- el18a2k
- Date:
- 2021-04-21
- Revision:
- 12:20ac766b3175
- Parent:
- 3:8c9c9794bcf2
- Child:
- 13:183bd19f3d7d
File content as of revision 12:20ac766b3175:
#ifndef SOUND_H #define SOUND_H #include "Tone.h" class Sound { public: //defines main theme void mainTheme(Tone &dac); //plays sound when score increases void pointScore(Tone &dac); //plays sound when life lost void lifeLoss(Tone &dac); private: int n; }; #endif