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: main.cpp
- Revision:
- 7:cca801103b86
- Parent:
- 6:d1594fd2ec5a
- Child:
- 8:e9f836163229
--- a/main.cpp Tue Sep 23 23:42:32 2014 +0000
+++ b/main.cpp Tue Sep 23 23:44:16 2014 +0000
@@ -387,19 +387,11 @@
//Increase the loop counter and go back to the beginning of the loop
if (checkEnd == 3){
- /*cycleTimer.stop();
- lcd.setAddress(0,0);
- lcd.printf("tLT: %d, tR", cycleTimer.read());
- wait(2);*/
//Output the Avg Cycle Time
cycleTimer.stop();
totalLoopTime += cycleTimer.read();
- /* lcd.setAddress(0,0);
- lcd.printf("tLT: %d, tR", cycleTimer.read());
- wait(2);*/
-
lcd.setAddress(0,1);
lcd.printf("Avg t(sec): %1.3f", (totalLoopTime / counter));