Simple fish eat program
Dependencies: mbed mbed-rtos N5110 ShiftReg Tone
classes/Sound.h@14:f1552b691274, 2021-08-02 (annotated)
- Committer:
- el18a2k
- Date:
- Mon Aug 02 14:35:02 2021 +0000
- Revision:
- 14:f1552b691274
- Parent:
- 13:183bd19f3d7d
final
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
el18a2k | 14:f1552b691274 | 1 | /* Fish Eat Game v2.0 |
el18a2k | 14:f1552b691274 | 2 | * Author: Andrew Knowles |
el18a2k | 14:f1552b691274 | 3 | * Date: 21/04/2021 |
el18a2k | 14:f1552b691274 | 4 | * Note: See hearder files for additional recognistion */ |
el18a2k | 14:f1552b691274 | 5 | |
el18a2k | 3:8c9c9794bcf2 | 6 | #ifndef SOUND_H |
el18a2k | 3:8c9c9794bcf2 | 7 | #define SOUND_H |
el18a2k | 3:8c9c9794bcf2 | 8 | |
el18a2k | 3:8c9c9794bcf2 | 9 | #include "Tone.h" |
el18a2k | 3:8c9c9794bcf2 | 10 | |
el18a2k | 3:8c9c9794bcf2 | 11 | class Sound { |
el18a2k | 3:8c9c9794bcf2 | 12 | |
el18a2k | 3:8c9c9794bcf2 | 13 | public: |
el18a2k | 3:8c9c9794bcf2 | 14 | |
el18a2k | 3:8c9c9794bcf2 | 15 | //defines main theme |
el18a2k | 3:8c9c9794bcf2 | 16 | void mainTheme(Tone &dac); |
el18a2k | 12:20ac766b3175 | 17 | |
el18a2k | 12:20ac766b3175 | 18 | private: |
el18a2k | 12:20ac766b3175 | 19 | int n; |
el18a2k | 3:8c9c9794bcf2 | 20 | }; |
el18a2k | 3:8c9c9794bcf2 | 21 | |
el18a2k | 3:8c9c9794bcf2 | 22 | #endif |