Rick McConney
/
StarterKit
GSMA version
Fork of AvnetATT_shape_hackathon by
Diff: hts221_driver.cpp
- Revision:
- 30:48b43538e98b
- Parent:
- 28:886833917643
--- a/hts221_driver.cpp Sat Jul 16 17:35:15 2016 +0000 +++ b/hts221_driver.cpp Wed Jul 20 04:01:03 2016 +0000 @@ -17,8 +17,7 @@ { char data = ToRead; - //i2c.write(slaveAddress, &data, 1, 0); - i2c.write(slaveAddress, &data, 1, 1); //by Stefan + i2c.write(slaveAddress, &data, 1, 1); i2c.read(slaveAddress, &data, 1, 0); return data; }