Projectlab Elektronica-ICT KULeuven
Dependencies: EthernetInterface TMP102 TextLCD mbed-rtos mbed
Diff: Tune.h
- Revision:
- 0:ae3af7d18c4a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Tune.h Fri Mar 14 19:41:14 2014 +0000 @@ -0,0 +1,15 @@ +#include "mbed.h" +#ifndef Tune_H +#define Tune_H +class Tune{ + public: + Tune(); + void play(int tune); + private: + + PwmOut *speaker; + static const int freq[]; + static const int lenght[]; + static const int delay[]; + }; +#endif \ No newline at end of file