Library for MAXREFDES131 OneWire GridEYE sensor interface
Dependents: MAXREFDES131_Qt_Demo MAXREFDES130_131_Demo
Diff: OWGridEye.cpp
- Revision:
- 11:6fde9f875d0c
- Parent:
- 10:4df63c608d32
- Child:
- 12:4b7ac3b21d91
--- a/OWGridEye.cpp Mon Aug 08 01:51:56 2016 +0000 +++ b/OWGridEye.cpp Fri Aug 12 21:04:39 2016 +0000 @@ -134,13 +134,13 @@ if(readWrite) { - i2c_cmd_result = m_i2c_bridge.i2cWriteReadDataWithStop((OWGridEye::I2C_ADRS << 1), + i2c_cmd_result = m_i2c_bridge.writeReadDataWithStop((OWGridEye::I2C_ADRS << 1), 1, &read_pointer, numBytes, status, wr_status, dataBuf); } else { - i2c_cmd_result = m_i2c_bridge.i2cWriteDataWithStop((OWGridEye::I2C_ADRS << 1), + i2c_cmd_result = m_i2c_bridge.writeDataWithStop((OWGridEye::I2C_ADRS << 1), numBytes, dataBuf, status, wr_status); }