VNG bot battle
Dependencies: BLE_API mbed nRF51822
Buzzer.h
00001 /* 00002 * Buzzer.h 00003 * 00004 * Created on: Aug 23, 2016 00005 * Author: tanpt 00006 */ 00007 00008 #ifndef BUZZER_H_ 00009 #define BUZZER_H_ 00010 00011 #include "common.h" 00012 00013 class Buzzer { 00014 00015 public: 00016 Buzzer(); 00017 ~Buzzer(); 00018 00019 void turnOn(); 00020 00021 void turnOff(); 00022 00023 private: 00024 static DigitalOut buzzer_; 00025 }; 00026 00027 00028 #endif /* BUZZER_H_ */
Generated on Fri Aug 5 2022 18:35:57 by 1.7.2