![](/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@4:4eebb4de22a7, 2015-11-16 (annotated)
- Committer:
- dreamselec
- Date:
- Mon Nov 16 01:15:45 2015 +0000
- Revision:
- 4:4eebb4de22a7
- Parent:
- 3:843b830ee8bd
- Child:
- 6:98fe30430194
Published
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dreamselec | 2:7a55cb10259f | 1 | #include "globals.h" |
dreamselec | 4:4eebb4de22a7 | 2 | //#include "mbed.h" |
dreamselec | 4:4eebb4de22a7 | 3 | //#include "MCP23017.h" |
dreamselec | 2:7a55cb10259f | 4 | |
dreamselec | 2:7a55cb10259f | 5 | int gBaudRate = 19200; |
dreamselec | 2:7a55cb10259f | 6 | //SerialBase gParity = SerialBase::None; |
dreamselec | 2:7a55cb10259f | 7 | int gStopBits = 1; |
dreamselec | 3:843b830ee8bd | 8 | extern const int gCommandBufferSize = 80; |
dreamselec | 3:843b830ee8bd | 9 | extern const int gSmallBufferSize = 5; |
dreamselec | 3:843b830ee8bd | 10 | |
dreamselec | 3:843b830ee8bd | 11 | Block getDefaultHazBlock(){ |
dreamselec | 3:843b830ee8bd | 12 | Block block; |
dreamselec | 3:843b830ee8bd | 13 | block.blockSizeEnum = SMALL; |
dreamselec | 3:843b830ee8bd | 14 | return block; |
dreamselec | 3:843b830ee8bd | 15 | } |
dreamselec | 3:843b830ee8bd | 16 | |
dreamselec | 3:843b830ee8bd | 17 | |
dreamselec | 2:7a55cb10259f | 18 | |
dreamselec | 2:7a55cb10259f | 19 | char gCommandTerminator = ';'; |