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
Motor.hpp@0:22618cf06f45, 2014-09-16 (annotated)
- Committer:
- mehatfie
- Date:
- Tue Sep 16 15:28:59 2014 +0000
- Revision:
- 0:22618cf06f45
- Child:
- 2:3e7baa3e3fec
- Initial Commit; - Code is a mess (in mid transition of general code architecture); - Functionality work to drive motors in both direction and turn off; - Delay functionality working; - Able to read a program from a txt file and perform functionality
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mehatfie | 0:22618cf06f45 | 1 | //#ifndef MOTOR_HPP |
mehatfie | 0:22618cf06f45 | 2 | //#define MOTOR_HPP |
mehatfie | 0:22618cf06f45 | 3 | // |
mehatfie | 0:22618cf06f45 | 4 | //#include "Device.hpp" |
mehatfie | 0:22618cf06f45 | 5 | // |
mehatfie | 0:22618cf06f45 | 6 | //class Motor: public Device{ |
mehatfie | 0:22618cf06f45 | 7 | // |
mehatfie | 0:22618cf06f45 | 8 | // private: |
mehatfie | 0:22618cf06f45 | 9 | // enum BridgeDriver::Motors motor; |
mehatfie | 0:22618cf06f45 | 10 | // |
mehatfie | 0:22618cf06f45 | 11 | // public: |
mehatfie | 0:22618cf06f45 | 12 | // Motor(); |
mehatfie | 0:22618cf06f45 | 13 | // int interpret(); |
mehatfie | 0:22618cf06f45 | 14 | // enum BridgeDriver::Motors getMotor(); |
mehatfie | 0:22618cf06f45 | 15 | // //void enableBrake(); |
mehatfie | 0:22618cf06f45 | 16 | // //int forceBrake(); |
mehatfie | 0:22618cf06f45 | 17 | // //int forceFloat(); |
mehatfie | 0:22618cf06f45 | 18 | // //float drive(); |
mehatfie | 0:22618cf06f45 | 19 | //}; |
mehatfie | 0:22618cf06f45 | 20 | // |
mehatfie | 0:22618cf06f45 | 21 | //#endif |