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

Committer:
mehatfie
Date:
2014-09-23
Revision:
5:e36e0538a903
Parent:
4:86d0d04cc055
Child:
9:5a0c4c6e39c7

File content as of revision 5:e36e0538a903:

#ifndef MOTOR_HPP
#define MOTOR_HPP

#include "Initialization.hpp"

class Motor: public Device{
    
    private:
        enum BridgeDriver::Motors motor;
        
    public:
        Motor(LineData);
        int interpret(LineData&);
        enum BridgeDriver::Motors getMotor();
        //void enableBrake();
        //int forceBrake();
        //int forceFloat();
        //float drive();
};

#endif