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.
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 |
