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

Revision:
5:86f1cd6657de
Parent:
4:5f7d38d0e22d
Child:
6:a52ded837184
--- a/LegInterface.h	Tue Jun 10 19:21:21 2014 +0000
+++ b/LegInterface.h	Fri Jun 20 06:10:34 2014 +0000
@@ -29,6 +29,8 @@
     // Number of A2D ticks per meter.  TODO: is 4096 right?
     static const float LIFT_TICKS_PER_METER = 4096 / 0.1;
 
+    // Offset between measured height and true height (m)
+    static const float LIFT_OFFSET = 0.01;
 
     LegInterface(Serial *pc = NULL);