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

Dependencies:   FXOS8700CQ mbed

Revision:
18:b08471eb1d1c
Parent:
17:38a8cc0c6ba5
Child:
19:f89baed3bd6f
diff -r 38a8cc0c6ba5 -r b08471eb1d1c main.cpp
--- a/main.cpp	Wed Jul 13 15:48:37 2016 +0000
+++ b/main.cpp	Wed Jul 13 15:57:38 2016 +0000
@@ -462,6 +462,9 @@
         }
     } while (!i);
     
+    // wait for a little yet for the socket service to allow for connect!!!
+    wait_ms(3000);
+    
     //Software init
     software_init_mdm();