![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
4 songs: rain, william, sun, and circus
main.cpp@0:c02f01feda7b, 2015-05-09 (annotated)
- Committer:
- Luminoscity
- Date:
- Sat May 09 21:29:00 2015 +0000
- Revision:
- 0:c02f01feda7b
- Child:
- 1:3595fce69880
Successful Music Test Code!!!
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Luminoscity | 0:c02f01feda7b | 1 | #include "mbed.h" |
Luminoscity | 0:c02f01feda7b | 2 | #include "Buzzer.h" |
Luminoscity | 0:c02f01feda7b | 3 | #include "Songs.h" |
Luminoscity | 0:c02f01feda7b | 4 | |
Luminoscity | 0:c02f01feda7b | 5 | //DigitalOut led(LED_RED); |
Luminoscity | 0:c02f01feda7b | 6 | Serial mainTerm(USBTX, USBRX); |
Luminoscity | 0:c02f01feda7b | 7 | |
Luminoscity | 0:c02f01feda7b | 8 | int main() { |
Luminoscity | 0:c02f01feda7b | 9 | Song song("william"); |
Luminoscity | 0:c02f01feda7b | 10 | while (true) { |
Luminoscity | 0:c02f01feda7b | 11 | song.play(); |
Luminoscity | 0:c02f01feda7b | 12 | } |
Luminoscity | 0:c02f01feda7b | 13 | } |
Luminoscity | 0:c02f01feda7b | 14 |