pachas
Dependencies: mbed QEI FastPWM
Diff: ventilator.cpp
- Revision:
- 9:95fdcdc0977e
- Parent:
- 8:208d965a3bd2
- Child:
- 10:b2d87404309a
--- a/ventilator.cpp Thu Apr 23 17:05:36 2020 +0000 +++ b/ventilator.cpp Sun Apr 26 08:50:12 2020 +0000 @@ -80,8 +80,6 @@ first_time_in_state = 0; nextion_display.printf("t1.pco=%d", ADJUST_COLOR); // Change font color nextion_display.printf("%c%c%c", 0xff, 0xff, 0xff); - // pc.printf("t6.pco=%d\n\r", ADJUST_COLOR); // Change font color - // pc.printf("%c%c%c\n\r", 0xff, 0xff, 0xff); Volume_Setpoint_Display_Update(); }else if(volume_setpoint_index_change_flag){ volume_setpoint_index_change_flag = 0; @@ -104,8 +102,6 @@ first_time_in_state = 0; nextion_display.printf("t4.pco=%d", ADJUST_COLOR); // Change font color nextion_display.printf("%c%c%c", 0xff, 0xff, 0xff); - // pc.printf("t7.pco=%d\n\r", ADJUST_COLOR); // Change font color - // pc.printf("%c%c%c\n\r", 0xff, 0xff, 0xff); Resp_Frequency_Display_Update(); }else if(resp_frequency_index_change_flag){ resp_frequency_index_change_flag = 0; @@ -129,8 +125,6 @@ first_time_in_state = 0; nextion_display.printf("t7.pco=%d", ADJUST_COLOR); // Change font color nextion_display.printf("%c%c%c", 0xff, 0xff, 0xff); - //pc.printf("t8.pco=%d\n\r", ADJUST_COLOR); // Change font color - // pc.printf("%c%c%c\n\r", 0xff, 0xff, 0xff); I_E_Ratio_Display_Update(); }else if(i_e_ratio_index_change_flag){ i_e_ratio_index_change_flag = 0; @@ -232,7 +226,7 @@ // Indicates if it is time to display the volume, flow and pressure values */ if(sensor_display_conta_1ms == SENSOR_DISPLAY_PERIOD_MS){ sensor_display_conta_1ms = 0; - pressure_sensor_display_update_flag = 1; + //pressure_sensor_display_update_flag = 1; } }