Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed Gamepad N5110 mbed-rtos
Music/Music.h@0:99fa5a619081, 2019-04-13 (annotated)
- Committer:
- RexRoshan
- Date:
- Sat Apr 13 01:13:53 2019 +0000
- Revision:
- 0:99fa5a619081
- Child:
- 6:1fcfd331c047
Mission 1 & 2 works perfectly
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| RexRoshan | 0:99fa5a619081 | 1 | #ifndef MUSIC_H |
| RexRoshan | 0:99fa5a619081 | 2 | #define MUSIC_H |
| RexRoshan | 0:99fa5a619081 | 3 | |
| RexRoshan | 0:99fa5a619081 | 4 | #include "Gamepad.h" |
| RexRoshan | 0:99fa5a619081 | 5 | #include "mbed.h" |
| RexRoshan | 0:99fa5a619081 | 6 | #include "rtos.h" |
| RexRoshan | 0:99fa5a619081 | 7 | |
| RexRoshan | 0:99fa5a619081 | 8 | class Music |
| RexRoshan | 0:99fa5a619081 | 9 | { |
| RexRoshan | 0:99fa5a619081 | 10 | |
| RexRoshan | 0:99fa5a619081 | 11 | public: |
| RexRoshan | 0:99fa5a619081 | 12 | Music(); |
| RexRoshan | 0:99fa5a619081 | 13 | ~Music(); |
| RexRoshan | 0:99fa5a619081 | 14 | |
| RexRoshan | 0:99fa5a619081 | 15 | void intro_song(Gamepad &pad); |
| RexRoshan | 0:99fa5a619081 | 16 | |
| RexRoshan | 0:99fa5a619081 | 17 | private: |
| RexRoshan | 0:99fa5a619081 | 18 | Thread Thread; |
| RexRoshan | 0:99fa5a619081 | 19 | |
| RexRoshan | 0:99fa5a619081 | 20 | }; |
| RexRoshan | 0:99fa5a619081 | 21 | |
| RexRoshan | 0:99fa5a619081 | 22 | #endif |