Example use of I2CTransaction class. In this example, the master mbed is talking to 3 legs of the SIPPC3B robot.
Diff: LegInterface.h
- Revision:
- 3:8e7471af3453
- Parent:
- 2:17c7a02f8401
- Child:
- 4:5f7d38d0e22d
--- a/LegInterface.h Fri May 23 19:27:12 2014 +0000 +++ b/LegInterface.h Mon May 26 20:07:53 2014 +0000 @@ -34,6 +34,7 @@ bool queryStateCopy(LegState_t legState[NUM_LEGS]); bool queryStateCopy(float liftPosition[NUM_LEGS], float liftVelocity[NUM_LEGS], float wheelPosition[NUM_LEGS], float wheelVelocity[NUM_LEGS]); void displayLegState(LegState_t *legState); + void queryStateTest(Serial *pc); bool queryLegParams(Leg leg, LegControlParams_t *liftParams, LegControlParams_t *wheelParams); void displayParams(LegControlParams_t *params); bool setLegParams(Leg leg, LegControlParams_t *liftParams, LegControlParams_t *wheelParams);