![](/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: Language.h
- Revision:
- 27:47a7bc902587
- Parent:
- 26:23ee3ea4ac7c
diff -r 23ee3ea4ac7c -r 47a7bc902587 Language.h --- a/Language.h Thu Dec 04 12:31:23 2014 +0000 +++ b/Language.h Thu Dec 04 22:05:18 2014 +0000 @@ -1,7 +1,12 @@ /* An enumerated type representing the three possible languages. */ -enum Language {ENGLISH, FRENCH, GERMAN}; - +enum Language { ENGLISH, + FRENCH, + GERMAN}; + +/* Language nextLanguage(Language oldLanguage) + * Return the next language in the above sequence. + */ Language nextLanguage(Language oldLanguage) { switch(oldLanguage) {