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

Revision:
32:9a4046224b11
Parent:
29:9c0339e3c593
--- a/Block.h	Thu Dec 03 15:50:14 2015 +0000
+++ b/Block.h	Thu Dec 17 17:23:24 2015 +0100
@@ -2,7 +2,11 @@
  * Block.h
  *
  *  Created on: 16 Nov 2015
- *      Author: chandansiyag
+ *      Author: Chandan Siyag
+ *
+ *      Defines two classes:
+ *      - Colour: is a colour object used for saving/retriving data from sensor. Can also do simple manipulations.
+ *      - Block: class to save a block data, any new block that passes through, or hazardous block.
  */
 
 #ifndef _block_h_
@@ -55,7 +59,7 @@
 
 class Block {
 public:
-// TODO: Switched
+	// ENUM to help make code readable and reduce mistakes.
 	enum Size {Small = 0, Big = 1};
 	enum BlockColour {Wrong = -1, Red = 0, White = 1, Blue = 2, Green = 3, Orange = 4, Yellow = 5, Black = 6};