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
Diff: Motor.hpp
- Revision:
- 2:3e7baa3e3fec
- Parent:
- 0:22618cf06f45
--- a/Motor.hpp Tue Sep 16 18:27:41 2014 +0000 +++ b/Motor.hpp Thu Sep 18 23:38:11 2014 +0000 @@ -1,21 +1,22 @@ -//#ifndef MOTOR_HPP -//#define MOTOR_HPP -// +#ifndef MOTOR_HPP +#define MOTOR_HPP + //#include "Device.hpp" -// -//class Motor: public Device{ -// -// private: -// enum BridgeDriver::Motors motor; -// -// public: -// Motor(); -// int interpret(); -// enum BridgeDriver::Motors getMotor(); -// //void enableBrake(); -// //int forceBrake(); -// //int forceFloat(); -// //float drive(); -//}; -// -//#endif \ No newline at end of file +#include "Initialization.hpp" + +class Motor: public Device{ + + private: + enum BridgeDriver::Motors motor; + + public: + Motor(Line); + int interpret(Line&); + enum BridgeDriver::Motors getMotor(); + //void enableBrake(); + //int forceBrake(); + //int forceFloat(); + //float drive(); +}; + +#endif \ No newline at end of file