CROTUS / Crotus_Com
Revision:
0:2c3535cce625
Child:
1:649349838d72
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/communication.h	Mon Mar 27 16:33:26 2017 +0000
@@ -0,0 +1,16 @@
+//Commands OPCODEs
+#define LOG_COMMAND = 0x42
+#define STOP_COMMAND = 0x66
+
+//Log command params
+#define SPEED_STATE_IDLE = 0x00;
+#define SPEED_STATE_SLOW = 0x01;
+#define SPEED_STATE_FAST = 0x02;
+#define SPEED_STATE_STOP = 0x10;
+
+#define ANGLE_STATE_LEFT = 0x10;
+#define ANGLE_STATE_STRAIGHT = 0x11;
+#define ANGLE_STATE_RIGHT = 0x01;
+
+#define DIRECTION_STATE_FORWARD = 0x01;
+#define DIRECTION_STATE_BACKWARD = 0x10;
\ No newline at end of file