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.
Dependencies: NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed
Fork of ICE by
Diff: src/ConfigurationHandler/Controls/TimerControl.h
- Revision:
- 126:c85ac6a8e9af
- Parent:
- 122:4db48b933115
- Child:
- 128:534bf29132f8
--- a/src/ConfigurationHandler/Controls/TimerControl.h Fri Sep 23 15:13:04 2016 +0000
+++ b/src/ConfigurationHandler/Controls/TimerControl.h Fri Sep 23 16:13:20 2016 +0000
@@ -22,6 +22,7 @@
unsigned int startHour;
unsigned int startMinute;
unsigned int duration;
+
public:
TimerControl() {};
@@ -36,8 +37,14 @@
std::string getControlFile(void) {
return controlFile;
}
+
+ void start(void);
+ void update(void);
+
};
+#define DAYS_IN_WEEK (7)
+
#define DAY_SUNDAY_MASK (1 << 0)
#define DAY_MONDAY_MASK (1 << 1)
#define DAY_TUESDAY_MASK (1 << 2)
