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: mainFunctions.hpp
- Revision:
- 9:5a0c4c6e39c7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mainFunctions.hpp Wed Sep 24 22:23:00 2014 +0000
@@ -0,0 +1,37 @@
+//#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
\ No newline at end of file