Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of ESDC2014 by
Diff: buzzer.h
- 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
