AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
board/Buzzer.cpp@10:afc22465169e, 2014-12-14 (annotated)
- Committer:
- sillevl
- Date:
- Sun Dec 14 11:50:19 2014 +0000
- Revision:
- 10:afc22465169e
- Parent:
- 5:be598835bab0
- Child:
- 11:50572814f73e
Added game selector skeleton + demo
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sillevl | 4:2c91c9eccf3a | 1 | #include "Buzzer.h" |
sillevl | 10:afc22465169e | 2 | #include "mbed.h" |
sillevl | 4:2c91c9eccf3a | 3 | |
sillevl | 4:2c91c9eccf3a | 4 | Buzzer::Buzzer(PinName buzzerPin){ |
sillevl | 10:afc22465169e | 5 | DigitalOut buzzer(buzzerPin); |
sillevl | 10:afc22465169e | 6 | buzzer = 0; |
sillevl | 5:be598835bab0 | 7 | } |
sillevl | 5:be598835bab0 | 8 | |
sillevl | 5:be598835bab0 | 9 | void Buzzer::startupBeep(){ |
sillevl | 5:be598835bab0 | 10 | |
sillevl | 4:2c91c9eccf3a | 11 | } |