![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
4 songs: rain, william, sun, and circus
Diff: Buzzer.h
- Revision:
- 0:c02f01feda7b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Buzzer.h Sat May 09 21:29:00 2015 +0000 @@ -0,0 +1,8 @@ +#include "mbed.h" + +#define BUZZER_PIN D2 /* sig pin of the buzzer */ +#define RANGE_OFFSET 4 + +void playTone(int tone, int duration); +void playNote(char note, int range, int duration); +