FRDM-K64F, Avnet M14A2A, Grove Shield, to create smart home system. In use with AT&Ts M2x & Flow.

Dependencies:   mbed FXOS8700CQ MODSERIAL

Committer:
stefanrousseau
Date:
Tue Jul 12 03:11:05 2016 +0000
Revision:
11:e6602513730f
Child:
55:3abf9e3f42e6
Fixed I2C issues.  ; a) Removed stop between HTS221 address and read; b) The latest MBED uses the slave address differently from the legacy.  Stick with the old for now and fixed the HTS221 address to BF instead of 5F.; c) Made I2C definitions externs.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
stefanrousseau 11:e6602513730f 1 #ifndef Hardware_H_
stefanrousseau 11:e6602513730f 2 #define Hardware_H_
stefanrousseau 11:e6602513730f 3 extern I2C i2c; //SDA, SCL -- define the I2C pins being used
stefanrousseau 11:e6602513730f 4
stefanrousseau 11:e6602513730f 5 #endif