![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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
Diff: chipNumbers.h
- Revision:
- 12:814a8fdbb6f7
- Parent:
- 6:e64796f1f384
- Child:
- 14:31ba3e56c788
diff -r 06f6e82b40a8 -r 814a8fdbb6f7 chipNumbers.h --- a/chipNumbers.h Thu Nov 13 11:59:39 2014 +0000 +++ b/chipNumbers.h Mon Nov 17 21:31:42 2014 +0000 @@ -1,4 +1,5 @@ #include "mbed.h" + int redAmount; int greenAmount; int blueAmount; @@ -7,6 +8,7 @@ redAmount = readFile(0); greenAmount = readFile(1); blueAmount = readFile(2); + } void decrementRed(){