CROTUS / Crotus_Com
Committer:
libv2001
Date:
Mon Apr 03 18:00:07 2017 +0000
Revision:
6:000b25806640
Parent:
5:320244af8c99
IAM command ajout?

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
libv2001 6:000b25806640 4 #define IAM_COMMAND 0x32
JeromeGodin 0:2c3535cce625 5
JeromeGodin 0:2c3535cce625 6 //Log command params
JeromeGodin 2:7d052001050e 7 #define SPEED_STATE_INDEX 0x01
libv2001 5:320244af8c99 8 #define SPEED_STATE_IDLE 0x04
JeromeGodin 2:7d052001050e 9 #define SPEED_STATE_SLOW 0x01
JeromeGodin 2:7d052001050e 10 #define SPEED_STATE_FAST 0x02
JeromeGodin 2:7d052001050e 11 #define SPEED_STATE_STOP 0x10
JeromeGodin 0:2c3535cce625 12
JeromeGodin 3:def801644961 13 #define ANGLE_STATE_INDEX 0x02
JeromeGodin 2:7d052001050e 14 #define ANGLE_STATE_LEFT 0x10
JeromeGodin 2:7d052001050e 15 #define ANGLE_STATE_STRAIGHT 0x11
JeromeGodin 2:7d052001050e 16 #define ANGLE_STATE_RIGHT 0x01
JeromeGodin 0:2c3535cce625 17
JeromeGodin 3:def801644961 18 #define DIRECTION_STATE_INDEX 0x03
JeromeGodin 2:7d052001050e 19 #define DIRECTION_STATE_FORWARD 0x01
libv2001 6:000b25806640 20 #define DIRECTION_STATE_BACKWARD 0x10
libv2001 6:000b25806640 21
libv2001 6:000b25806640 22 //IAM command params
libv2001 6:000b25806640 23 #define IAM_RFID 0x42
libv2001 6:000b25806640 24 #define IAM_COMMAND_CENTER 0x69