v1
Fork of Fork_Boss_Communication_Robot by
Diff: protocol.h
- Revision:
- 3:2f334f0cee75
- Parent:
- 2:56c1de1612dd
- Child:
- 5:1d92ab54b7b2
--- a/protocol.h Sun Mar 01 15:40:51 2015 +0000 +++ b/protocol.h Mon Mar 02 05:52:56 2015 +0000 @@ -26,6 +26,14 @@ #define ANDANTE_ERRBIT_MASTER_CHECKSUM 0xFF +//Instruction Control +#define ANDANTE_SPEED_CONTROL 0x01 +#define ANDANTE_FRONT_ANGLE 0x02 +#define ANDANTE_REAR_ANGLE 0x04 + +//Instruction Sensor + + struct ANDANTE_PROTOCOL_PACKET { uint8_t robotId;