terry LAI / Mbed 2 deprecated ESDC2014-pwm

Dependencies:   mbed

Fork of ESDC2014 by terry LAI

Revision:
4:a377ecb9364f
Parent:
2:442902ec3aa1
Child:
5:098e6a44bd94
--- a/buzzer.h	Thu Jul 03 14:52:44 2014 +0000
+++ b/buzzer.h	Fri Jul 04 13:05:15 2014 +0000
@@ -32,7 +32,7 @@
 #include "define.h"
 #include "mbed.h"
 
-#define TIME_OUT 5 //8 seconds
+#define TIME_OUT 20 //8 seconds
 
 class Buzzer
 {
@@ -44,13 +44,13 @@
     void setFlag();
     void cleanFlag();
     
-    void check_time_out();
-    void time_out_init();
+ //   void check_time_out();
+//    void time_out_init();
     
 private:
     MyDigitalOut* _buzzer; 
     uint8_t flag;
-    Timeout time_out;
+//    Timeout time_out;
 };
 
 #endif
\ No newline at end of file