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-24
Revision:
9:5a0c4c6e39c7
Parent:
5:e36e0538a903
Child:
11:bc9cd2869f95

File content as of revision 9:5a0c4c6e39c7:

#ifndef MOTOR_HPP
#define MOTOR_HPP

#include "Initialization.hpp"

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

#endif