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:
10:16ba52f8e025
Parent:
7:b6e31bfdb2af
Child:
14:cf2f255b5560
--- a/fpga.h	Mon Nov 16 23:44:44 2015 +0000
+++ b/fpga.h	Wed Nov 18 16:09:52 2015 +0000
@@ -9,12 +9,17 @@
 class FPGA{
 public:
 	FPGA();
+	
+	SortingServoPositions sortingServoPosition;
+	StoppingServoPositions stoppingServoPosition;
 
 	int checkForBlock();
 	int checkForSize();
 
 	void moveStoppingServo(StoppingServoPositions position);
 	void moveSortingServo(SortingServoPositions position);
+	void toggleStoppingServo();
+	void toggleSortingServo();
 
 	void resetStoppingServo();
 	void resetSortingServo();