![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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.cpp@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 "globals.h" |
dreamselec | 2:7a55cb10259f | 2 | #include "mbed.h" |
dreamselec | 2:7a55cb10259f | 3 | |
dreamselec | 2:7a55cb10259f | 4 | int gBaudRate = 19200; |
dreamselec | 2:7a55cb10259f | 5 | //SerialBase gParity = SerialBase::None; |
dreamselec | 2:7a55cb10259f | 6 | int gStopBits = 1; |
dreamselec | 2:7a55cb10259f | 7 | |
dreamselec | 2:7a55cb10259f | 8 | char gCommandTerminator = ';'; |