![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
4 songs: rain, william, sun, and circus
Diff: Songs.h
- Revision:
- 0:c02f01feda7b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Songs.h Sat May 09 21:29:00 2015 +0000 @@ -0,0 +1,21 @@ +#include "mbed.h" +#include "Buzzer.h" + +#define MAX_NOTES 200 + +class Song { +private: + int beats[MAX_NOTES]; + int range[MAX_NOTES]; + char *notes; + int length; + int tempo; + int betweenWait; + +public: + Song(); + Song(char *); + void play(); + void choose(char *); + void setTempo(int); +}; \ No newline at end of file