![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
3rd year group project. Electronic and Electrical Engineering. Heriot-Watt University. This is the code for the mbed for the Automatic Little Object Organiser (ALOO).
Dependencies: MCP23017 TCS3472_I2C WattBob_TextLCD mbed
fpga.h@3:843b830ee8bd, 2015-11-11 (annotated)
- Committer:
- dreamselec
- Date:
- Wed Nov 11 03:45:30 2015 +0000
- Revision:
- 3:843b830ee8bd
- Child:
- 4:4eebb4de22a7
The MBED program is supposed to work both when connected to PC, and on it's own. So making use of Serial (UART) interrupts, to listen for incoming commands when PC is connected. Currently only mbed control works, no commands are sent to PC, or FPGA
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dreamselec | 3:843b830ee8bd | 1 | |
dreamselec | 3:843b830ee8bd | 2 | #ifndef FPGA_INCLUDED |
dreamselec | 3:843b830ee8bd | 3 | #define FPGA_INCLUDED |
dreamselec | 3:843b830ee8bd | 4 | |
dreamselec | 3:843b830ee8bd | 5 | int blockIsInserted(); |
dreamselec | 3:843b830ee8bd | 6 | int blockIsLarge(); |
dreamselec | 3:843b830ee8bd | 7 | |
dreamselec | 3:843b830ee8bd | 8 | void moveStoppingServo(int position); |
dreamselec | 3:843b830ee8bd | 9 | void moveSortingServo(int position); |
dreamselec | 3:843b830ee8bd | 10 | |
dreamselec | 3:843b830ee8bd | 11 | void resetStoppingServo(); |
dreamselec | 3:843b830ee8bd | 12 | void resetSortingServo(); |
dreamselec | 3:843b830ee8bd | 13 | void resetAllServos(); |
dreamselec | 3:843b830ee8bd | 14 | |
dreamselec | 3:843b830ee8bd | 15 | #endif |