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

Committer:
mehatfie
Date:
Fri Oct 03 21:33:46 2014 +0000
Revision:
16:2482d226cf4d
Parent:
11:bc9cd2869f95
- Updated Errors; - Initializes SD Card to work every time; - Cycle timer starts immediately on first cycle

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mehatfie 4:86d0d04cc055 1 #ifndef PININ_HPP
mehatfie 4:86d0d04cc055 2 #define PININ_HPP
mehatfie 4:86d0d04cc055 3
mehatfie 4:86d0d04cc055 4 #include "Initialization.hpp"
mehatfie 4:86d0d04cc055 5
mehatfie 4:86d0d04cc055 6 class PinIN: public Device{
mehatfie 4:86d0d04cc055 7
mehatfie 4:86d0d04cc055 8 private:
mehatfie 4:86d0d04cc055 9 PinName pinName;
mehatfie 5:e36e0538a903 10 PinMode pinMode;
mehatfie 4:86d0d04cc055 11
mehatfie 4:86d0d04cc055 12 public:
mehatfie 5:e36e0538a903 13 PinIN(LineData);
mehatfie 5:e36e0538a903 14 int interpret(LineData&);
mehatfie 11:bc9cd2869f95 15 int off(){return 0;} //Do Nothing as you don't need to turn a Pin off
mehatfie 11:bc9cd2869f95 16 int pause(){return 0;} //Do Nothing as you don't need to pause a Pin
mehatfie 11:bc9cd2869f95 17 int resume(){return 0;} //Do Nothing as you don't need to resume a Pin
mehatfie 4:86d0d04cc055 18 };
mehatfie 4:86d0d04cc055 19
mehatfie 4:86d0d04cc055 20 #endif