Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TCTF_Control_Main by
Diff: main.cpp
- Revision:
- 20:8c79659c71e4
- Parent:
- 19:fec49ef9944b
diff -r fec49ef9944b -r 8c79659c71e4 main.cpp
--- a/main.cpp Tue Jun 19 19:10:47 2018 +0000
+++ b/main.cpp Wed Jun 20 00:19:13 2018 +0000
@@ -16,6 +16,7 @@
#define DEBUG5 0
#define UID_PRINT 1
#define TEMP_PRINT 0
+#define LOOP_TIME 0
#define CHN_COUNT 8
#define MIN_TEMP 10
#define MAX_TEMP 65
@@ -828,7 +829,7 @@
sendTempReadings();
time_sec = t.read();
- pc.printf("\r TIME: %f s\r\n", time_sec);
+ if(LOOP_TIME) pc.printf("\r TIME: %f s\r\n", time_sec);
//CONTROL LOOP: LOOPS THROUGH EVERY CHANNEL AND CONTROLS THE FIXTURE IN RESPONSE
for(int chnl = 0; chnl < CHN_COUNT; chnl++){
