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
globals.h@2:7a55cb10259f, 2015-10-30 (annotated)
- Committer:
- dreamselec
- Date:
- Fri Oct 30 07:51:47 2015 +0000
- Revision:
- 2:7a55cb10259f
- Child:
- 3:843b830ee8bd
Added globals class which keeps track of global variables.; Added commander class which is to work together will command controller class from Swift. ; Test show some what parsing capabilities, needs a lot of work to be be fail proof.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dreamselec | 2:7a55cb10259f | 1 | #include "mbed.h" |
dreamselec | 2:7a55cb10259f | 2 | #include "SerialBase.h" |
dreamselec | 2:7a55cb10259f | 3 | |
dreamselec | 2:7a55cb10259f | 4 | #ifndef GLOBALS_INCLUDED |
dreamselec | 2:7a55cb10259f | 5 | #define GLOBALS_INCLUDED |
dreamselec | 2:7a55cb10259f | 6 | |
dreamselec | 2:7a55cb10259f | 7 | extern Serial pc; |
dreamselec | 2:7a55cb10259f | 8 | extern int gBaudRate; |
dreamselec | 2:7a55cb10259f | 9 | //extern SerialBase gParity; |
dreamselec | 2:7a55cb10259f | 10 | extern int gStopBits; |
dreamselec | 2:7a55cb10259f | 11 | |
dreamselec | 2:7a55cb10259f | 12 | #define gCommandBufferSize 100 |
dreamselec | 2:7a55cb10259f | 13 | extern char gCommandTerminator; |
dreamselec | 2:7a55cb10259f | 14 | |
dreamselec | 2:7a55cb10259f | 15 | #define FOREVER for(;;) |
dreamselec | 2:7a55cb10259f | 16 | |
dreamselec | 2:7a55cb10259f | 17 | #endif |