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

Committer:
mehatfie
Date:
Thu Sep 18 23:38:11 2014 +0000
Revision:
2:3e7baa3e3fec
Parent:
0:22618cf06f45
- Revamped whole system and now works without stalling or freezing mid program; - now Object Oriented Based in terms of Devices (inheritance of functions)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mehatfie 2:3e7baa3e3fec 1 #ifndef MOTOR_HPP
mehatfie 2:3e7baa3e3fec 2 #define MOTOR_HPP
mehatfie 2:3e7baa3e3fec 3
mehatfie 0:22618cf06f45 4 //#include "Device.hpp"
mehatfie 2:3e7baa3e3fec 5 #include "Initialization.hpp"
mehatfie 2:3e7baa3e3fec 6
mehatfie 2:3e7baa3e3fec 7 class Motor: public Device{
mehatfie 2:3e7baa3e3fec 8
mehatfie 2:3e7baa3e3fec 9 private:
mehatfie 2:3e7baa3e3fec 10 enum BridgeDriver::Motors motor;
mehatfie 2:3e7baa3e3fec 11
mehatfie 2:3e7baa3e3fec 12 public:
mehatfie 2:3e7baa3e3fec 13 Motor(Line);
mehatfie 2:3e7baa3e3fec 14 int interpret(Line&);
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