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
Colour.h@24:8868101d01d0, 2014-12-03 (annotated)
- Committer:
- IonSystems
- Date:
- Wed Dec 03 17:49:41 2014 +0000
- Revision:
- 24:8868101d01d0
- Parent:
- 13:0661d658d9d1
Commented the .h files from top to bottom, got half way through FPGAcomms
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
IonSystems | 24:8868101d01d0 | 1 | /* Colour |
IonSystems | 24:8868101d01d0 | 2 | * An enumerated type to represent the events that can occur in a sort or dispense operation. |
IonSystems | 24:8868101d01d0 | 3 | */ |
IonSystems | 24:8868101d01d0 | 4 | enum Colour { |
IonSystems | 24:8868101d01d0 | 5 | RED, |
IonSystems | 24:8868101d01d0 | 6 | GREEN, |
IonSystems | 24:8868101d01d0 | 7 | BLUE, |
IonSystems | 24:8868101d01d0 | 8 | BIN, |
IonSystems | 24:8868101d01d0 | 9 | RECYCLE, |
IonSystems | 24:8868101d01d0 | 10 | NONE |
IonSystems | 24:8868101d01d0 | 11 | }; |