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

Committer:
IonSystems
Date:
Fri Dec 05 09:53:04 2014 +0000
Revision:
28:bdf2bf56f97b
Parent:
27:47a7bc902587
Commened main

Who changed what in which revision?

UserRevisionLine numberNew contents of line
IonSystems 27:47a7bc902587 1 /* enum StateMachine{
IonSystems 27:47a7bc902587 2 * An enumerated type representing the maintenance mode slider operations.
IonSystems 27:47a7bc902587 3 */
IonSystems 7:6ba00694f9cd 4 enum StateMachine{
IonSystems 7:6ba00694f9cd 5
IonSystems 8:b7771391adc9 6 //Maintenance mode states
IonSystems 8:b7771391adc9 7 RB_LEFT,
IonSystems 8:b7771391adc9 8 RB_CENTRE,
IonSystems 8:b7771391adc9 9 RB_RIGHT,
IonSystems 8:b7771391adc9 10 GO_UP,
IonSystems 8:b7771391adc9 11 GO_CENTRE,
IonSystems 8:b7771391adc9 12 GO_DOWN,
IonSystems 8:b7771391adc9 13 BR_LEFT,
IonSystems 8:b7771391adc9 14 BR_RIGHT,
IonSystems 8:b7771391adc9 15 R_PUSH,
IonSystems 8:b7771391adc9 16 R_HOME,
IonSystems 8:b7771391adc9 17 GB_LEFT,
IonSystems 8:b7771391adc9 18 GB_CENTRE,
IonSystems 22:8f11d1c178ab 19 GB_RIGHT,
IonSystems 22:8f11d1c178ab 20 maintenanceEND
IonSystems 6:e64796f1f384 21 };