![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
LEX_Threaded_Programming
Dependencies: Heater_V2 MODSERIAL Nanopb FastPWM ADS8568_ADC
Diff: main.cpp
- Revision:
- 27:0ee855da5ba9
- Parent:
- 26:e2e834e16367
- Child:
- 28:b2513f36a50d
--- a/main.cpp Thu Oct 17 10:29:36 2019 +0000 +++ b/main.cpp Wed Oct 23 08:25:26 2019 +0000 @@ -95,7 +95,6 @@ Ticker pressure_tick; Ticker log_tick; - //Flags EventFlags flags; //Flags: // 0 => update heater @@ -278,9 +277,6 @@ } } - if (i_board != -1) pc.printf("Drive board: Board %d\n",drive_board_serial_number[i_board]); - else pc.printf("Drive board UID match not found\n"); - buffer_length = sizeof(buffer)/sizeof(uint8_t); pc.printf("# Input [CONFIGURATION] file\n"); @@ -342,7 +338,7 @@ heater_control.start(& temp_control); heat_tick.attach_us(& temp_trigger,exp_config.thermal.thermal_control_loop_interval_ms * 1000); - pc.printf("# Starting routine\n"); + pc.printf("# Starting routine on drive board: %d\n",drive_board_serial_number[i_board]); pc.printf("heater id, time (ms), R_avg (Ohm), R_set (Ohm), R (Ohm), Err (Ohm), Err_int (Ohm.ms), Duty cycle, P1 (ADC), P2 (ADC)\n"); timer.start(); set_point_routine(profile);