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
- Committer:
- mehatfie
- Date:
- 2014-10-03
- Revision:
- 16:2482d226cf4d
- Parent:
- 9:5a0c4c6e39c7
File content as of revision 16:2482d226cf4d:
//#ifndef MAINFUNCTIONS_HPP //#define MAINFUNCTIONS_HPP // //#include "Initialization.hpp" ////#include "TextFile.h" // ///******************************************************************************/ ///*** <Function Initializations> ***/ ///******************************************************************************/ // //int cyclePrograms(vector<string>, int, int, int); // //void resetLineData(LineData &); //reset and all variables of the Line Data Struct // //int interpretCommand(FILE *, LineData &); // //int loopCommand(FILE *, LineData &); // // ////Create an enum map of the positble conditions //enum ConditionType{xAND, AND, xOR, OR, NONE}; // //struct ConditionOp{ // int value; //returned value of the interpret function: 1 = meets criteria, 0 = criteria not met, -1 = failed to interpret // 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 //}; // //int conditionCommand(FILE *, LineData &); // // ///******************************************************************************/ ///*** <Line Data Struct Initializations> ***/ ///******************************************************************************/ // // // //#endif