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/Motor.hpp@9:5a0c4c6e39c7, 2014-09-24 (annotated)
- Committer:
- mehatfie
- Date:
- Wed Sep 24 22:23:00 2014 +0000
- Revision:
- 9:5a0c4c6e39c7
- Parent:
- 5:e36e0538a903
- Child:
- 11:bc9cd2869f95
- System error checking and syntax checking should be completed; --- Compiled code still functions correctly; --- All error checking has not been checked that they indeed error out / not error out and function as planned
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mehatfie | 2:3e7baa3e3fec | 1 | #ifndef MOTOR_HPP |
mehatfie | 2:3e7baa3e3fec | 2 | #define MOTOR_HPP |
mehatfie | 2:3e7baa3e3fec | 3 | |
mehatfie | 2:3e7baa3e3fec | 4 | #include "Initialization.hpp" |
mehatfie | 2:3e7baa3e3fec | 5 | |
mehatfie | 2:3e7baa3e3fec | 6 | class Motor: public Device{ |
mehatfie | 2:3e7baa3e3fec | 7 | |
mehatfie | 2:3e7baa3e3fec | 8 | private: |
mehatfie | 2:3e7baa3e3fec | 9 | enum BridgeDriver::Motors motor; |
mehatfie | 2:3e7baa3e3fec | 10 | |
mehatfie | 2:3e7baa3e3fec | 11 | public: |
mehatfie | 5:e36e0538a903 | 12 | Motor(LineData); |
mehatfie | 5:e36e0538a903 | 13 | int interpret(LineData&); |
mehatfie | 9:5a0c4c6e39c7 | 14 | int off(); |
mehatfie | 2:3e7baa3e3fec | 15 | enum BridgeDriver::Motors getMotor(); |
mehatfie | 2:3e7baa3e3fec | 16 | //void enableBrake(); |
mehatfie | 2:3e7baa3e3fec | 17 | //int forceBrake(); |
mehatfie | 2:3e7baa3e3fec | 18 | //int forceFloat(); |
mehatfie | 2:3e7baa3e3fec | 19 | //float drive(); |
mehatfie | 2:3e7baa3e3fec | 20 | }; |
mehatfie | 2:3e7baa3e3fec | 21 | |
mehatfie | 2:3e7baa3e3fec | 22 | #endif |