![](/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
Diff: main.cpp
- Revision:
- 11:0fe833f8a1ab
- Parent:
- 10:16ba52f8e025
- Child:
- 14:cf2f255b5560
--- a/main.cpp Wed Nov 18 16:09:52 2015 +0000 +++ b/main.cpp Sat Nov 21 18:52:07 2015 +0000 @@ -136,11 +136,11 @@ if (blockSize == 0) { // detectColour() int colourValues[4]; - displayWaitingLine(); -// rgbSensor.getAllColors(colourValues); - lcd->cls(); - lcd->locate(0,0); - lcd->printf("Sorting"); +// displayWaitingLine(); + rgbSensor.getAllColors(colourValues); +// lcd->cls(); +// lcd->locate(0,0); +// lcd->printf("Sorting"); sortBlock(colourValues); }else { fpga->moveStoppingServo(Go);