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/PinIN.hpp
- Committer:
- mehatfie
- Date:
- 2014-10-03
- Revision:
- 16:2482d226cf4d
- Parent:
- 11:bc9cd2869f95
File content as of revision 16:2482d226cf4d:
#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