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: FXOS8700CQ MODSERIAL mbed
Fork of Avnet_ATT_Cellular_IOT by
Diff: main.cpp
- 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);
    