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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers PinIN.hpp Source File

PinIN.hpp

00001 #ifndef PININ_HPP
00002 #define PININ_HPP
00003 
00004 #include "Initialization.hpp"
00005 
00006 class PinIN: public Device{
00007     
00008     private:
00009         PinName pinName;
00010         PinMode pinMode;
00011         
00012     public:
00013         PinIN(LineData);
00014         int interpret(LineData&);
00015         int off(){return 0;}        //Do Nothing as you don't need to turn a Pin off
00016         int pause(){return 0;}      //Do Nothing as you don't need to pause a Pin
00017         int resume(){return 0;}     //Do Nothing as you don't need to resume a Pin
00018 };
00019 
00020 #endif