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
mainFunctions.hpp
00001 //#ifndef MAINFUNCTIONS_HPP 00002 //#define MAINFUNCTIONS_HPP 00003 // 00004 //#include "Initialization.hpp" 00005 ////#include "TextFile.h" 00006 // 00007 ///******************************************************************************/ 00008 ///*** <Function Initializations> ***/ 00009 ///******************************************************************************/ 00010 // 00011 //int cyclePrograms(vector<string>, int, int, int); 00012 // 00013 //void resetLineData(LineData &); //reset and all variables of the Line Data Struct 00014 // 00015 //int interpretCommand(FILE *, LineData &); 00016 // 00017 //int loopCommand(FILE *, LineData &); 00018 // 00019 // 00020 ////Create an enum map of the positble conditions 00021 //enum ConditionType{xAND, AND, xOR, OR, NONE}; 00022 // 00023 //struct ConditionOp{ 00024 // int value; //returned value of the interpret function: 1 = meets criteria, 0 = criteria not met, -1 = failed to interpret 00025 // ConditionType op; //operator that follows the given parameter: x val 2 AND y val 3, if this ConditionOp is for x, then the value will be AND 00026 //}; 00027 // 00028 //int conditionCommand(FILE *, LineData &); 00029 // 00030 // 00031 ///******************************************************************************/ 00032 ///*** <Line Data Struct Initializations> ***/ 00033 ///******************************************************************************/ 00034 // 00035 // 00036 // 00037 //#endif
Generated on Sun Jul 24 2022 01:49:11 by
1.7.2