Executes commands received via xbee.

Dependencies:   m3pi mbed

Committer:
mb4899
Date:
Sun May 03 01:20:15 2015 +0000
Revision:
5:854aea46d7b8
Added "Protocol" header file and updated "main" file accordingly

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mb4899 5:854aea46d7b8 1 #ifndef PROTOCOL_H
mb4899 5:854aea46d7b8 2 #define PROTOCOL_H
mb4899 5:854aea46d7b8 3
mb4899 5:854aea46d7b8 4 // Commands from Wordset 1
mb4899 5:854aea46d7b8 5 #define MOVE 1
mb4899 5:854aea46d7b8 6 #define TURN 2
mb4899 5:854aea46d7b8 7 #define RUN 3
mb4899 5:854aea46d7b8 8 #define STOP 6
mb4899 5:854aea46d7b8 9
mb4899 5:854aea46d7b8 10 // Commands from Wordset 2
mb4899 5:854aea46d7b8 11 #define LEFT 0
mb4899 5:854aea46d7b8 12 #define RIGHT 1
mb4899 5:854aea46d7b8 13 #define FORWARD 4
mb4899 5:854aea46d7b8 14 #define BACKWARD 5
mb4899 5:854aea46d7b8 15
mb4899 5:854aea46d7b8 16 #endif