Raghav Ganesh
/
AvnetATT_shape_hackathon
This program simply connects to a HTS221 I2C device to read Temperature
Diff: config_me.h
- Revision:
- 29:83d9bf7b52a4
- Parent:
- 24:bd480d2aade4
--- a/config_me.h Fri Jul 15 13:17:26 2016 +0000 +++ b/config_me.h Sat Jul 16 17:24:50 2016 +0000 @@ -6,10 +6,10 @@ // This is the server's base URL name. Example "www.google.com" // Note that when you Fork a FLOW, it will typically assign either // "run-east.att.io" or "run-west.att.io", so be sure to check this. -static const char * MY_SERVER_URL = "run-west.att.io"; +static const char * MY_SERVER_URL = "run-east.att.io"; // These are FLOW fields from the Endpoints tab: -#define FLOW_BASE_URL "/1e464b19cdcde/774c88d68202/86694923d5bf28a/in/flow" +#define FLOW_BASE_URL "/0861956ba198c/4eb0452f2f49/dcdc5484efb8a86/in/flow" #define FLOW_INPUT_NAME "/climate" // Unless you want to use a different protocol, this field should be left as is: @@ -32,7 +32,7 @@ #define TEMP_HUMIDITY_ONLY 1 #define TEMP_HUMIDITY_ACCELEROMETER 2 #define TEMP_HUMIDITY_ACCELEROMETER_PMODSENSORS 3 -static int iSensorsToReport = TEMP_HUMIDITY_ONLY; //modify this to change your selection +static int iSensorsToReport = TEMP_HUMIDITY_ACCELEROMETER; //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";