Mitchell Hatfield / Mbed 2 deprecated Component_Test_Interface

Dependencies:   BridgeDriver FrontPanelButtons MCP23017 SDFileSystem TextLCD mbed

Devices/PinIN.hpp

Committer:
mehatfie
Date:
2014-10-01
Revision:
11:bc9cd2869f95
Parent:
9:5a0c4c6e39c7

File content as of revision 11:bc9cd2869f95:

#ifndef PININ_HPP
#define PININ_HPP

#include "Initialization.hpp"

class PinIN: public Device{
    
    private:
        PinName pinName;
        PinMode pinMode;
        
    public:
        PinIN(LineData);
        int interpret(LineData&);
        int off(){return 0;}        //Do Nothing as you don't need to turn a Pin off
        int pause(){return 0;}      //Do Nothing as you don't need to pause a Pin
        int resume(){return 0;}     //Do Nothing as you don't need to resume a Pin
};

#endif