FRDM-K64F, Avnet M14A2A, Grove Shield, to create smart home system. In use with AT&Ts M2x & Flow.
Dependencies: mbed FXOS8700CQ MODSERIAL
Diff: HTS221.h
- Revision:
- 11:e6602513730f
- Parent:
- 0:9d5134074d84
- Child:
- 28:886833917643
diff -r df54436ecd38 -r e6602513730f HTS221.h --- 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