Working on rewriting how we acquire data from LTC chip and sending all temp data over serial for python logging
Fork of TCTF_Control_Main by
Diff: main.cpp
- Revision:
- 20:8c79659c71e4
- Parent:
- 19:fec49ef9944b
--- 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++){