The MBED firmware used on the Chipin sorter, developed over 12 weeks for a 3rd year university systems project. Chipin is a token sorter, it sorts tokens by colours and dispenses them to order through an online booking system and card reader. This program interfaces with an FPGA, PC and LCD screen to control the sorter. The sorter has an operation mode where it can process orders when a card is entered into the machine. There is also a maintenance mode where the device responds to maintenance instructions such as 'dispense all'. More information at http://www.ionsystems.uk/

Dependencies:   MCP23017 TCS3472_I2C WattBob_TextLCD mbed-rtos mbed

Revision:
8:b7771391adc9
Parent:
6:e64796f1f384
Child:
9:8d78eb55ad5e
--- a/FPGAcomms.h	Mon Nov 10 15:03:20 2014 +0000
+++ b/FPGAcomms.h	Mon Nov 10 16:32:44 2014 +0000
@@ -26,5 +26,8 @@
     11      Nothing
 */
 
-DigitalOut DispenseBit1(p10);  //The 2 bits below are select bits for the dispenser.
-DigitalOut DispenseBit2(p11);
+DigitalOut dispenseBit1(p10);  //The 2 bits below are select bits for the dispenser.
+DigitalOut dispenseBit2(p11);
+
+DigitalIn complete(p12);    //FPGA sets to 1 once complete until another signal is recieved.
+DigitalOut select(p15); //0 for control, 1 for maintenance.
\ No newline at end of file