CROTUS / Crotus_Com
Committer:
libv2001
Date:
Mon Apr 03 17:38:43 2017 +0000
Revision:
4:aabcf54fcc0c
Parent:
3:def801644961
Child:
5:320244af8c99
Change the Idle State

Who changed what in which revision?

UserRevisionLine numberNew contents of line
JeromeGodin 0:2c3535cce625 1 //Commands OPCODEs
JeromeGodin 1:649349838d72 2 #define LOG_COMMAND 0x42
JeromeGodin 1:649349838d72 3 #define STOP_COMMAND 0x66
JeromeGodin 0:2c3535cce625 4
JeromeGodin 0:2c3535cce625 5 //Log command params
JeromeGodin 2:7d052001050e 6 #define SPEED_STATE_INDEX 0x01
libv2001 4:aabcf54fcc0c 7 #define SPEED_STATE_IDLE 0xFF
JeromeGodin 2:7d052001050e 8 #define SPEED_STATE_SLOW 0x01
JeromeGodin 2:7d052001050e 9 #define SPEED_STATE_FAST 0x02
JeromeGodin 2:7d052001050e 10 #define SPEED_STATE_STOP 0x10
JeromeGodin 0:2c3535cce625 11
JeromeGodin 3:def801644961 12 #define ANGLE_STATE_INDEX 0x02
JeromeGodin 2:7d052001050e 13 #define ANGLE_STATE_LEFT 0x10
JeromeGodin 2:7d052001050e 14 #define ANGLE_STATE_STRAIGHT 0x11
JeromeGodin 2:7d052001050e 15 #define ANGLE_STATE_RIGHT 0x01
JeromeGodin 0:2c3535cce625 16
JeromeGodin 3:def801644961 17 #define DIRECTION_STATE_INDEX 0x03
JeromeGodin 2:7d052001050e 18 #define DIRECTION_STATE_FORWARD 0x01
JeromeGodin 2:7d052001050e 19 #define DIRECTION_STATE_BACKWARD 0x10