http://http://diytec.web.fc2.com/mark2r2/
Dependencies: EthernetNetIf NTPClient_NetServices mbed ConfigFile
Diff: buzzer.c
- Revision:
- 0:08a4d61cd84c
diff -r 000000000000 -r 08a4d61cd84c buzzer.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/buzzer.c Tue Sep 20 12:46:26 2011 +0000 @@ -0,0 +1,17 @@ +/************************************************************* + + buzzer.c + +*************************************************************/ +#include "mbed.h" + +extern Timeout click; +extern DigitalOut *buzzer; +extern DigitalOut *outLED; + +void buzzer_off(){ + *buzzer=0; + *outLED=0; + click.detach(); + +}