![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Component Test's Software to work with "Universal Controller Box" - Software is an interpreter or "compiler" for programs to be done with a .txt file and read off of the SD Card
Dependencies: BridgeDriver FrontPanelButtons MCP23017 SDFileSystem TextLCD mbed
Devices/TimerDevice.hpp@16:2482d226cf4d, 2014-10-03 (annotated)
- Committer:
- mehatfie
- Date:
- Fri Oct 03 21:33:46 2014 +0000
- Revision:
- 16:2482d226cf4d
- Parent:
- 11:bc9cd2869f95
- Updated Errors; - Initializes SD Card to work every time; - Cycle timer starts immediately on first cycle
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mehatfie | 11:bc9cd2869f95 | 1 | #ifndef TIMERDEVICE_HPP |
mehatfie | 11:bc9cd2869f95 | 2 | #define TIMERDEVICE_HPP |
mehatfie | 11:bc9cd2869f95 | 3 | |
mehatfie | 11:bc9cd2869f95 | 4 | #include "Initialization.hpp" |
mehatfie | 11:bc9cd2869f95 | 5 | |
mehatfie | 11:bc9cd2869f95 | 6 | class TimerDevice: public Device{ |
mehatfie | 11:bc9cd2869f95 | 7 | |
mehatfie | 11:bc9cd2869f95 | 8 | private: |
mehatfie | 11:bc9cd2869f95 | 9 | Timer Timer; |
mehatfie | 11:bc9cd2869f95 | 10 | |
mehatfie | 11:bc9cd2869f95 | 11 | public: |
mehatfie | 11:bc9cd2869f95 | 12 | TimerDevice(LineData); |
mehatfie | 11:bc9cd2869f95 | 13 | int interpret(LineData&); |
mehatfie | 11:bc9cd2869f95 | 14 | int off(); |
mehatfie | 11:bc9cd2869f95 | 15 | int getChannel(); |
mehatfie | 11:bc9cd2869f95 | 16 | int pause(); |
mehatfie | 11:bc9cd2869f95 | 17 | int resume(); |
mehatfie | 11:bc9cd2869f95 | 18 | //void enableBrake(); |
mehatfie | 11:bc9cd2869f95 | 19 | //int forceBrake(); |
mehatfie | 11:bc9cd2869f95 | 20 | //int forceFloat(); |
mehatfie | 11:bc9cd2869f95 | 21 | //float drive(); |
mehatfie | 11:bc9cd2869f95 | 22 | }; |
mehatfie | 11:bc9cd2869f95 | 23 | |
mehatfie | 11:bc9cd2869f95 | 24 | #endif |