Skeleton program for Federico's 4YP project.

Dependencies:   WebSocketClient WiflyInterface mbed messages

Fork of IoT_Ex by Damien Frost

Revision:
10:e8b66718a103
Parent:
6:424e225d2a91
--- a/headers/Commands.h	Tue Nov 29 12:22:14 2016 +0000
+++ b/headers/Commands.h	Tue Nov 29 15:02:01 2016 +0000
@@ -74,13 +74,13 @@
 #define SF_SERVERCONNECTED      BIT0
 #define SF_AUTOCONNECT          BIT1        // Set this flag to automatically start connecting to the websocket server
 #define SF_WIRELESSCONNECTED    BIT2        // Flag to indicate whether or not the wireless network is connected
+#define SS_PWMOVERRUNFLAG       BIT3        // Flag to indicate when the PWM interrutp is still running
                                             
 // Wifi Commands
-#define     NO_WIFI_CMD         0
-#define     CV_LED_WIFI_CMD     1
+#define     NO_WIFI_CMD             0
+#define     CV_LED_WIFI_CMD         1
+#define     CV_PWM_PERIOD_US_CMD    2
 
-// Change variable commands:
-#define     CV_LED              1
 
 extern StatusReg IotStatus;