![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Fork with SeeedStudio Xadow GPS v2 enabled
Dependencies: FXOS8700CQ MODSERIAL XadowGPS mbed
Fork of Avnet_ATT_Cellular_IOT by
Diff: hts221_driver.cpp
- Revision:
- 28:886833917643
- Parent:
- 11:e6602513730f
- Child:
- 68:6e311c747045
--- a/hts221_driver.cpp Wed Jul 13 20:12:49 2016 +0000 +++ b/hts221_driver.cpp Fri Jul 15 13:17:26 2016 +0000 @@ -9,7 +9,8 @@ #include "mbed.h" #include "hardware.h" -//I2C i2c(PTC11, PTC10); //SDA, SCL -- define the I2C pins being used +//I2C i2c(PTC11, PTC10); //SDA, SCL -- define the I2C pins being used. Defined in a +//common locatioin since sensors also use I2C // Read a single unsigned char from addressToRead and return it as a unsigned char unsigned char HTS221::readRegister(unsigned char slaveAddress, unsigned char ToRead)