![](/media/cache/profiles/595e4edac4cf4a73d34d23041575d3e2.jpg.50x50_q85.jpg)
This program simply connects to a HTS221 I2C device to proximity sensor
Diff: main.cpp
- Revision:
- 21:d0038d14ee7c
- Parent:
- 20:27a4f27254d0
- Child:
- 23:d6ceeb6d85ed
- Child:
- 25:e7996d22a7e6
--- a/main.cpp Wed Jul 13 17:57:14 2016 +0000 +++ b/main.cpp Wed Jul 13 18:34:56 2016 +0000 @@ -275,6 +275,8 @@ .Humidity_Si7020 = "0" }; +static int iSensorsToReport = TEMP_HUMIDITY_ONLY; + void GenerateModemString(char * modem_string) { switch(iSensorsToReport) @@ -516,12 +518,4 @@ sockclose_mdm(); } //bTimerExpiredFlag } //forever loop - -#if (0) - string * pStr; - while (1) - { - send_wnc_cmd("AT", &pStr, WNC_TIMEOUT_MS); - } -#endif }