![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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
Diff: Initialization.hpp
- Revision:
- 9:5a0c4c6e39c7
- Parent:
- 6:d1594fd2ec5a
- Child:
- 11:bc9cd2869f95
diff -r e9f836163229 -r 5a0c4c6e39c7 Initialization.hpp --- a/Initialization.hpp Wed Sep 24 01:46:02 2014 +0000 +++ b/Initialization.hpp Wed Sep 24 22:23:00 2014 +0000 @@ -50,7 +50,7 @@ void initLCD(void); //Initialize the LCD - +void ErrorOut(string, int); //Outputs error message, line number, and formatting to LCD /******************************************************************************/ /*** <Line Data Struct Initializations> ***/ @@ -85,9 +85,11 @@ public: string name; + int errorFlag; enum DeviceType type; static Device* newDevice(int, string, LineData); virtual int interpret(LineData&) = 0; + virtual int off() = 0; }; extern vector<Device*> devices; //Initialize array of devices, initially assume 15 devices will be used (will expand as needed)