3rd year group project. Electronic and Electrical Engineering. Heriot-Watt University. This is the code for the mbed for the Automatic Little Object Organiser (ALOO).
Dependencies: MCP23017 TCS3472_I2C WattBob_TextLCD mbed
Diff: commander.h
- Revision:
- 23:db91aaa43a9e
- Parent:
- 14:cf2f255b5560
- Child:
- 24:02c61793f90b
diff -r 993821a4c396 -r db91aaa43a9e commander.h --- a/commander.h Thu Nov 26 15:47:17 2015 +0000 +++ b/commander.h Sat Nov 28 23:28:22 2015 +0000 @@ -8,7 +8,7 @@ #define _commander_h_ const int kMaxCommandCount = 10; -enum CommandObjectRaw { InvalidObject = -1, MBED = 0, PC = 1, ColourSensor = 2, Servos = 3, Port = 4 }; +enum CommandObjectRaw { InvalidObject = -1, MBED = 0, PC = 1, ColourSensor = 2, Servos = 3, Port = 4, BreakBeam = 5 }; extern std::string CommandObjectValue [5]; extern std::string CommandObjectCommandsValue [5][kMaxCommandCount];