FRDM-K64F, Avnet M14A2A, Grove Shield, to create smart home system. In use with AT&Ts M2x & Flow.

Dependencies:   mbed FXOS8700CQ MODSERIAL

Revision:
23:d6ceeb6d85ed
Parent:
21:d0038d14ee7c
Child:
26:8d6e7e7cdcae
--- a/main.cpp	Wed Jul 13 18:34:56 2016 +0000
+++ b/main.cpp	Wed Jul 13 19:53:44 2016 +0000
@@ -275,8 +275,6 @@
     .Humidity_Si7020    = "0"
 };
 
-static int iSensorsToReport = TEMP_HUMIDITY_ONLY;
-
 void GenerateModemString(char * modem_string)
 {
     switch(iSensorsToReport)
@@ -474,7 +472,7 @@
 
     //Create a 1ms timer tick function:
     OneMsTicker.attach(OneMsFunction, 0.001f) ;
-    iTimer1Interval_ms = 5000; //5 seconds
+    iTimer1Interval_ms = SENSOR_UPDATE_INTERVAL_MS;
 
     // Set LED BLUE for partial init
     SetLedColor(0x4);