A simple sound library for mbed. I use the Ring Tone Text Transfer Language (RTTTL) to play song with mbed.
Revision 1:b0c0c7d002aa, committed 2013-12-11
- Comitter:
- adelino
- Date:
- Wed Dec 11 10:43:20 2013 +0000
- Parent:
- 0:4c9dcb64e608
- Commit message:
- A simple sound ans music library for mbed. I use the RTTTL format to play a song music, in an PwmOutput.
Changed in this revision
Buzzer.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 4c9dcb64e608 -r b0c0c7d002aa Buzzer.h --- a/Buzzer.h Wed Dec 11 08:31:19 2013 +0000 +++ b/Buzzer.h Wed Dec 11 10:43:20 2013 +0000 @@ -3,12 +3,10 @@ #include "mbed.h" #include <vector> -/** -This is a simple sound library for mbed.I use the RTTTL format +/** This is a simple sound library for mbed.I use the RTTTL format http://en.wikipedia.org/wiki/Ring_Tone_Transfer_Language -Exemple - +Example @code #include "Buzzer.h" @@ -27,7 +25,7 @@ buzzer.tone(&la); delete(pMusic); } - +@endcode */ // notes definition