Master_Node
Dependencies: XBeeLib_Master mbed
Diff: functions/bootChime.cpp
- Revision:
- 2:bd4ef614ebb6
- Parent:
- 1:f28c98c04cbd
--- a/functions/bootChime.cpp Tue Mar 27 14:12:26 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -#include "buzzer.h" -#include "mbed.h" - -namespace mbed { - - Beep piezo(PB_4); - - int bootChime() /* Function definition */ - { - int freq = 300; - for (int i = 0; i < 1; i++){ - freq = freq*1.5; - piezo.beep(freq, 0.2); - wait(0.2); - } - - return 0; - } -} \ No newline at end of file