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

Dependencies:   FXOS8700CQ mbed

Revision:
11:e6602513730f
Parent:
0:9d5134074d84
Child:
28:886833917643
--- a/HTS221.h	Mon Jul 11 23:54:24 2016 +0000
+++ b/HTS221.h	Tue Jul 12 03:11:05 2016 +0000
@@ -28,7 +28,9 @@
     int writeRegister(unsigned char slaveAddress, unsigned char regToWrite, unsigned char dataToWrite);
 };
 
-#define HTS221_ADDRESS     0x5F
+//#define HTS221_ADDRESS     0x5F
+//By Stefan
+#define HTS221_ADDRESS     0xBF
 
 //Define a few of the registers that we will be accessing on the HTS221
 #define WHO_AM_I           0x0F