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
Revision 86:5ff234988f53, committed 2016-12-22
- 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
}
