CROTUS / Crotus_Com
Committer:
JeromeGodin
Date:
Mon Mar 27 16:33:26 2017 +0000
Revision:
0:2c3535cce625
Child:
1:649349838d72
Initial commit.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
JeromeGodin 0:2c3535cce625 1 //Commands OPCODEs
JeromeGodin 0:2c3535cce625 2 #define LOG_COMMAND = 0x42
JeromeGodin 0:2c3535cce625 3 #define STOP_COMMAND = 0x66
JeromeGodin 0:2c3535cce625 4
JeromeGodin 0:2c3535cce625 5 //Log command params
JeromeGodin 0:2c3535cce625 6 #define SPEED_STATE_IDLE = 0x00;
JeromeGodin 0:2c3535cce625 7 #define SPEED_STATE_SLOW = 0x01;
JeromeGodin 0:2c3535cce625 8 #define SPEED_STATE_FAST = 0x02;
JeromeGodin 0:2c3535cce625 9 #define SPEED_STATE_STOP = 0x10;
JeromeGodin 0:2c3535cce625 10
JeromeGodin 0:2c3535cce625 11 #define ANGLE_STATE_LEFT = 0x10;
JeromeGodin 0:2c3535cce625 12 #define ANGLE_STATE_STRAIGHT = 0x11;
JeromeGodin 0:2c3535cce625 13 #define ANGLE_STATE_RIGHT = 0x01;
JeromeGodin 0:2c3535cce625 14
JeromeGodin 0:2c3535cce625 15 #define DIRECTION_STATE_FORWARD = 0x01;
JeromeGodin 0:2c3535cce625 16 #define DIRECTION_STATE_BACKWARD = 0x10;