Example use of I2CTransaction class. In this example, the master mbed is talking to 3 legs of the SIPPC3B robot.
Diff: LegInterface.cpp
- Revision:
- 1:d3abc0577ebc
- Parent:
- 0:346370254254
- Child:
- 2:17c7a02f8401
--- a/LegInterface.cpp Wed May 21 21:21:22 2014 +0000 +++ b/LegInterface.cpp Thu May 22 21:17:58 2014 +0000 @@ -1,14 +1,14 @@ /* Interface for communication to the set of legs for the OU SIPPC Robot (version 3B and beyond). - + Note: this interface is talking to very custom hardware. As a result, it serves more as an example of how to use the I2CTransaction library. Author: Andrew H. Fagg (May, 2014) More documentation to come... - + */ @@ -257,6 +257,12 @@ } + +bool LegInterface::setLegGoal(float liftPos[NUM_LEGS], float wheelVel[NUM_LEGS]) +{ + +} + void LegInterface::displayStatus() { pc->printf("Transaction status:\n\r");