Example use of I2CTransaction class. In this example, the master mbed is talking to 3 legs of the SIPPC3B robot.

Revision:
4:5f7d38d0e22d
Parent:
3:8e7471af3453
Child:
5:86f1cd6657de
diff -r 8e7471af3453 -r 5f7d38d0e22d LegInterface.cpp
--- a/LegInterface.cpp	Mon May 26 20:07:53 2014 +0000
+++ b/LegInterface.cpp	Tue Jun 10 19:21:21 2014 +0000
@@ -119,7 +119,7 @@
     transactionQueryState[LEG_E]->checkTransaction();
     transactionQueryState[LEG_S]->checkTransaction();
     */
-    
+
     // Has the prior attempt at sending the estop completed?
     if(!queryStateCompleted()) {
         // No: do not attempt
@@ -343,4 +343,20 @@
     transactionSetGoal[LEG_S]->displayStatus(pc, "Set Goal S:\t");
     pc->printf("\n\r");
 
-}
\ No newline at end of file
+}
+
+void LegInterface::reset()
+{
+    I2CTransaction::reset();
+}
+
+void LegInterface::resetBus()
+{
+    I2CTransaction::resetBus();
+}
+
+void LegInterface::cycleBus()
+{
+    I2CTransaction::cycleBus();
+    }
+    
\ No newline at end of file