Library for MAXREFDES131 OneWire GridEYE sensor interface

Dependents:   MAXREFDES131_Qt_Demo MAXREFDES130_131_Demo

Revision:
9:cb964c629580
Parent:
7:c936b48baaff
Child:
10:4df63c608d32
--- a/OWGridEye.cpp	Thu Jun 16 18:09:15 2016 +0000
+++ b/OWGridEye.cpp	Fri Jun 24 22:00:49 2016 +0000
@@ -47,13 +47,13 @@
     OWGridEye::CmdResult result = OWGridEye::OpFailure;
     uint8_t pio_state;
     
-    DS2413::CmdResult sw_result = m_switch.pio_access_read_chB(pio_state);
+    DS2413::CmdResult sw_result = m_switch.pioAccessReadChB(pio_state);
     if(sw_result == DS2413::Success)
     {
         //if high take low, falling edge puts bridge and sensor to sleep
         if(pio_state)
         {
-            sw_result = m_switch.pio_access_write_chB(0);
+            sw_result = m_switch.pioAccessWriteChB(0);
             if(sw_result == DS2413::Success)
             {
                 result = OWGridEye::Success;
@@ -62,10 +62,10 @@
         else
         {
             //if low, take high, then low to get falling edge
-            sw_result = m_switch.pio_access_write_chB(1);
+            sw_result = m_switch.pioAccessWriteChB(1);
             if(sw_result == DS2413::Success)
             {
-                sw_result = m_switch.pio_access_write_chB(0);
+                sw_result = m_switch.pioAccessWriteChB(0);
                 if(sw_result == DS2413::Success)
                 {
                     result = OWGridEye::Success;
@@ -83,7 +83,7 @@
 {
     OWGridEye::CmdResult result = OWGridEye::OpFailure;
     
-    DS2413::CmdResult sw_result = m_switch.pio_access_write_chB(1);
+    DS2413::CmdResult sw_result = m_switch.pioAccessWriteChB(1);
     if(sw_result == DS2413::Success)
     {
         result = OWGridEye::Success;
@@ -98,7 +98,7 @@
 {
     OWGridEye::CmdResult result = OWGridEye::OpFailure;
     
-    DS2413::CmdResult sw_result = m_switch.pio_access_write_chA(0);
+    DS2413::CmdResult sw_result = m_switch.pioAccessWriteChA(0);
     if(sw_result == DS2413::Success)
     {
         result = OWGridEye::Success;
@@ -113,7 +113,7 @@
 {
     OWGridEye::CmdResult result = OWGridEye::OpFailure;
     
-    DS2413::CmdResult sw_result = m_switch.pio_access_write_chA(1);
+    DS2413::CmdResult sw_result = m_switch.pioAccessWriteChA(1);
     if(sw_result == DS2413::Success)
     {
         result = OWGridEye::Success;