Example software for a Cyclic Executive

Dependencies:   MCP23017 SDFileSystem WattBob_TextLCD mbed

Revision:
7:2973bf297f3d
Parent:
6:ceda53939eb8
Child:
10:c0531edf4850
diff -r ceda53939eb8 -r 2973bf297f3d Tasks.h
--- a/Tasks.h	Mon Feb 29 11:20:48 2016 +0000
+++ b/Tasks.h	Wed Mar 02 00:51:17 2016 +0000
@@ -40,7 +40,7 @@
 #define FALSE 0
 
 // Task 1 definitions
-#define WATCHDOG_PULSE_WIDTH 15
+#define WATCHDOG_PULSE_WIDTH 15 // ms
 
 // Task 2 definitions
 
@@ -50,11 +50,14 @@
 #define NUM_ANALOG_SAMPLES 4.0
 
 // Task 5 definitions
+#define BACK_LIGHT_ON(INTERFACE) INTERFACE->write_bit(1,BL_BIT)
+#define BACK_LIGHT_OFF(INTERFACE) INTERFACE->write_bit(0,BL_BIT)
 
 // Task 6 definitions
 #define ERROR_CODE_CDTN_MET 3
 #define ERROR_CODE_CDTN_FAIL 0
 
+
 /* ####################### Class definitions and prototypes ####################### */
 
 /* ==================================== Task 1 ==================================== */