update protocol.h
Dependencies: Communication_Robot
Fork of BEAR_Reciever by
Command.h
- Committer:
- b0ssiz
- Date:
- 2016-01-21
- Revision:
- 8:2d34916ac178
- Parent:
- 7:a0ea8c127611
- Child:
- 9:906c6ff02a84
File content as of revision 8:2d34916ac178:
//Instruction Set #define PING 0x01 #define READ_DATA 0x02 #define WRITE_DATA 0x03 //CONTROL TABLE #define ID 0x00 #define MOTOR_UPPER_ANG 0x01 #define MOTOR_LOWER_ANG 0x02 #define MARGIN 0x03 #define KP_UPPER_MOTOR 0x04 #define KI_UPPER_MOTOR 0x05 #define KD_UPPER_MOTOR 0x06 #define KP_LOWER_MOTOR 0x07 #define KI_LOWER_MOTOR 0x08 #define KD_LOWER_MOTOR 0x09 #define PID_UPPER_MOTOR 0x0A #define PID_LOWER_MOTOR 0x0B #define HEIGHT 0x0C #define WHEELPOS 0x0D #define MAG_DATA 0x0E #define OFFSET 0x0F #define BODY_LENGTH 0x10 #define ANGLE_RANGE 0x11 #define EEPROM 0x12