AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
board/Buzzer.h
- Committer:
- sillevl
- Date:
- 2014-12-31
- Revision:
- 11:50572814f73e
- Parent:
- 5:be598835bab0
File content as of revision 11:50572814f73e:
#ifndef BUZZER_H #define BUZZER_H #include "mbed.h" class Buzzer{ public: Buzzer(PinName buzzerPin); void playNote(float frequency, float duration = 100, float volume = 1.0); void startupBeep(); private: PwmOut out; }; #endif