AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
board/Buzzer.h@5:be598835bab0, 2014-12-13 (annotated)
- Committer:
- sillevl
- Date:
- Sat Dec 13 12:24:37 2014 +0000
- Revision:
- 5:be598835bab0
- Parent:
- 4:2c91c9eccf3a
- Child:
- 11:50572814f73e
Refactored game board (all hardware) and added abstract game class
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sillevl | 4:2c91c9eccf3a | 1 | #ifndef BUZZER_H |
sillevl | 4:2c91c9eccf3a | 2 | #define BUZZER_H |
sillevl | 4:2c91c9eccf3a | 3 | |
sillevl | 4:2c91c9eccf3a | 4 | #include "mbed.h" |
sillevl | 4:2c91c9eccf3a | 5 | |
sillevl | 4:2c91c9eccf3a | 6 | class Buzzer{ |
sillevl | 4:2c91c9eccf3a | 7 | |
sillevl | 4:2c91c9eccf3a | 8 | public: |
sillevl | 4:2c91c9eccf3a | 9 | Buzzer(PinName buzzerPin); |
sillevl | 5:be598835bab0 | 10 | void startupBeep(); |
sillevl | 4:2c91c9eccf3a | 11 | }; |
sillevl | 4:2c91c9eccf3a | 12 | |
sillevl | 4:2c91c9eccf3a | 13 | #endif |