Library for MAXREFDES131 OneWire GridEYE sensor interface

Dependents:   MAXREFDES131_Qt_Demo MAXREFDES130_131_Demo

Revision:
10:4df63c608d32
Parent:
9:cb964c629580
Child:
11:6fde9f875d0c
diff -r cb964c629580 -r 4df63c608d32 OWGridEye.cpp
--- a/OWGridEye.cpp	Fri Jun 24 22:00:49 2016 +0000
+++ b/OWGridEye.cpp	Mon Aug 08 01:51:56 2016 +0000
@@ -134,13 +134,13 @@
     
     if(readWrite)
     {
-        i2c_cmd_result = m_i2c_bridge.I2C_WriteReadDataWithStop((OWGridEye::I2C_ADRS << 1), 
+        i2c_cmd_result = m_i2c_bridge.i2cWriteReadDataWithStop((OWGridEye::I2C_ADRS << 1), 
                                                               1, &read_pointer, numBytes, 
                                                               status, wr_status, dataBuf);
     }
     else
     {
-        i2c_cmd_result = m_i2c_bridge.I2C_WriteDataWithStop((OWGridEye::I2C_ADRS << 1), 
+        i2c_cmd_result = m_i2c_bridge.i2cWriteDataWithStop((OWGridEye::I2C_ADRS << 1), 
                                                            numBytes, dataBuf, status, 
                                                            wr_status);
     }