This program simply connects to a HTS221 I2C device to proximity sensor

Dependencies:   FXOS8700CQ mbed

Revision:
24:bd480d2aade4
Parent:
21:d0038d14ee7c
Child:
26:8d6e7e7cdcae
--- a/main.cpp	Wed Jul 13 19:39:56 2016 +0000
+++ b/main.cpp	Wed Jul 13 20:01:12 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);