Bowen Feng / Mbed 2 deprecated Hiking_Pal

Dependencies:   FXOS8700CQ MODSERIAL mbed

Fork of Avnet_ATT_Cellular_IOT by Avnet

Files at this revision

API Documentation at this revision

Comitter:
bowenfeng
Date:
Thu Dec 22 06:59:20 2016 +0000
Parent:
85:43d791cd5967
Child:
87:ca75c5e785a7
Commit message:
Use actual GPS data.

Changed in this revision

config_me.h Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/config_me.h	Thu Dec 22 06:52:58 2016 +0000
+++ b/config_me.h	Thu Dec 22 06:59:20 2016 +0000
@@ -52,7 +52,7 @@
 #define TEMP_HUMIDITY_ACCELEROMETER_GPS                         3
 #define TEMP_HUMIDITY_ACCELEROMETER_PMODSENSORS                 4
 #define TEMP_HUMIDITY_ACCELEROMETER_PMODSENSORS_VIRTUALSENSORS  5
-static int iSensorsToReport = TEMP_HUMIDITY_ACCELEROMETER; //modify this to change your selection
+static int iSensorsToReport = TEMP_HUMIDITY_ACCELEROMETER_GPS; //modify this to change your selection
 
 // This is the APN name for the cellular network, you will need to change this, check the instructions included with your SIM card kit:
 static const char * MY_APN_STR          = "m2m.com.attz";
--- a/main.cpp	Thu Dec 22 06:52:58 2016 +0000
+++ b/main.cpp	Thu Dec 22 06:59:20 2016 +0000
@@ -205,5 +205,6 @@
             bTimerExpiredFlag = false;
             read_sensors(); //read available external sensors from a PMOD and the on-board motion sensor
             report_move(hid, sid);
+        }
     } //forever loop
 }