removed test comments

This commit is contained in:
Martijn
2024-11-25 20:14:04 +01:00
parent 7d7c653c67
commit fd89e312a1
+102 -102
View File
@@ -12,121 +12,121 @@ script:
###################### ######################
- id: update_bar1_left - id: update_bar1_left
then: then:
# - lambda: |- - lambda: |-
# id(cs_pin_bar1_left).turn_on(); // << id(cs_pin_bar1_left).turn_on(); // <<
# id(cs_pin_bar1_right).turn_off(); id(cs_pin_bar1_right).turn_off();
# id(cs_pin_bar2_left).turn_off(); id(cs_pin_bar2_left).turn_off();
# id(cs_pin_bar2_right).turn_off(); id(cs_pin_bar2_right).turn_off();
# id(cs_pin_bar3_left).turn_off(); id(cs_pin_bar3_left).turn_off();
# id(cs_pin_bar3_right).turn_off(); id(cs_pin_bar3_right).turn_off();
# id(bar_display).clear(); id(bar_display).clear();
# id(bar_display).set_rotation(display::DisplayRotation::DISPLAY_ROTATION_270_DEGREES); id(bar_display).set_rotation(display::DisplayRotation::DISPLAY_ROTATION_270_DEGREES);
# //id(bar1_left_draw).execute(); //id(bar1_left_draw).execute();
# id(bar_display).update(); id(bar_display).update();
# delay(1); delay(1);
# id(cs_pin_bar1_left).turn_off(); id(cs_pin_bar1_left).turn_off();
- id: update_bar1_right - id: update_bar1_right
then: then:
# - lambda: |- - lambda: |-
# id(cs_pin_bar1_left).turn_off(); id(cs_pin_bar1_left).turn_off();
# id(cs_pin_bar1_right).turn_on(); // << id(cs_pin_bar1_right).turn_on(); // <<
# id(cs_pin_bar2_left).turn_off(); id(cs_pin_bar2_left).turn_off();
# id(cs_pin_bar2_right).turn_off(); id(cs_pin_bar2_right).turn_off();
# id(cs_pin_bar3_left).turn_off(); id(cs_pin_bar3_left).turn_off();
# id(cs_pin_bar3_right).turn_off(); id(cs_pin_bar3_right).turn_off();
# id(bar_display).clear(); id(bar_display).clear();
# id(bar_display).set_rotation(display::DisplayRotation::DISPLAY_ROTATION_90_DEGREES); id(bar_display).set_rotation(display::DisplayRotation::DISPLAY_ROTATION_90_DEGREES);
# //id(bar1_left_draw).execute(); //id(bar1_left_draw).execute();
# id(bar_display).update(); id(bar_display).update();
# delay(1); delay(1);
# id(cs_pin_bar1_right).turn_off(); id(cs_pin_bar1_right).turn_off();
- id: update_bar2_left - id: update_bar2_left
then: then:
# - lambda: |- - lambda: |-
# id(cs_pin_bar1_left).turn_off(); id(cs_pin_bar1_left).turn_off();
# id(cs_pin_bar1_right).turn_off(); id(cs_pin_bar1_right).turn_off();
# id(cs_pin_bar2_left).turn_on(); // << id(cs_pin_bar2_left).turn_on(); // <<
# id(cs_pin_bar2_right).turn_off(); id(cs_pin_bar2_right).turn_off();
# id(cs_pin_bar3_left).turn_off(); id(cs_pin_bar3_left).turn_off();
# id(cs_pin_bar3_right).turn_off(); id(cs_pin_bar3_right).turn_off();
# id(bar_display).clear(); id(bar_display).clear();
# id(bar_display).set_rotation(display::DisplayRotation::DISPLAY_ROTATION_270_DEGREES); id(bar_display).set_rotation(display::DisplayRotation::DISPLAY_ROTATION_270_DEGREES);
# //id(bar2_left_draw).execute(); //id(bar2_left_draw).execute();
# id(bar_display).update(); id(bar_display).update();
# delay(1); delay(1);
# id(cs_pin_bar2_left).turn_off(); id(cs_pin_bar2_left).turn_off();
- id: update_bar2_right - id: update_bar2_right
then: then:
# - lambda: |- - lambda: |-
# id(cs_pin_bar1_left).turn_off(); id(cs_pin_bar1_left).turn_off();
# id(cs_pin_bar1_right).turn_off(); id(cs_pin_bar1_right).turn_off();
# id(cs_pin_bar2_left).turn_off(); id(cs_pin_bar2_left).turn_off();
# id(cs_pin_bar2_right).turn_on(); // << id(cs_pin_bar2_right).turn_on(); // <<
# id(cs_pin_bar3_left).turn_off(); id(cs_pin_bar3_left).turn_off();
# id(cs_pin_bar3_right).turn_off(); id(cs_pin_bar3_right).turn_off();
# id(bar_display).clear(); id(bar_display).clear();
# id(bar_display).set_rotation(display::DisplayRotation::DISPLAY_ROTATION_90_DEGREES); id(bar_display).set_rotation(display::DisplayRotation::DISPLAY_ROTATION_90_DEGREES);
# //id(bar2_right_draw).execute(); //id(bar2_right_draw).execute();
# id(bar_display).update(); id(bar_display).update();
# delay(1); delay(1);
# id(cs_pin_bar2_right).turn_off(); id(cs_pin_bar2_right).turn_off();
- id: update_bar3_left - id: update_bar3_left
then: then:
# - lambda: |- - lambda: |-
# id(cs_pin_bar1_left).turn_off(); id(cs_pin_bar1_left).turn_off();
# id(cs_pin_bar1_right).turn_off(); id(cs_pin_bar1_right).turn_off();
# id(cs_pin_bar2_left).turn_off(); id(cs_pin_bar2_left).turn_off();
# id(cs_pin_bar2_right).turn_off(); id(cs_pin_bar2_right).turn_off();
# id(cs_pin_bar3_left).turn_on(); // << id(cs_pin_bar3_left).turn_on(); // <<
# id(cs_pin_bar3_right).turn_off(); id(cs_pin_bar3_right).turn_off();
# id(bar_display).clear(); id(bar_display).clear();
# id(bar_display).set_rotation(display::DisplayRotation::DISPLAY_ROTATION_270_DEGREES); id(bar_display).set_rotation(display::DisplayRotation::DISPLAY_ROTATION_270_DEGREES);
# //id(bar3_left_draw).execute(); //id(bar3_left_draw).execute();
# id(bar_display).update(); id(bar_display).update();
# delay(1); delay(1);
# id(cs_pin_bar3_left).turn_off(); id(cs_pin_bar3_left).turn_off();
- id: update_bar3_right - id: update_bar3_right
then: then:
# - lambda: |- - lambda: |-
# id(cs_pin_bar1_left).turn_off(); id(cs_pin_bar1_left).turn_off();
# id(cs_pin_bar1_right).turn_off(); id(cs_pin_bar1_right).turn_off();
# id(cs_pin_bar2_left).turn_off(); id(cs_pin_bar2_left).turn_off();
# id(cs_pin_bar2_right).turn_off(); id(cs_pin_bar2_right).turn_off();
# id(cs_pin_bar3_left).turn_off(); id(cs_pin_bar3_left).turn_off();
# id(cs_pin_bar3_right).turn_on(); // << id(cs_pin_bar3_right).turn_on(); // <<
# id(bar_display).clear(); id(bar_display).clear();
# id(bar_display).set_rotation(display::DisplayRotation::DISPLAY_ROTATION_90_DEGREES); id(bar_display).set_rotation(display::DisplayRotation::DISPLAY_ROTATION_90_DEGREES);
# //id(bar3_right_draw).execute(); //id(bar3_right_draw).execute();
# id(bar_display).update(); id(bar_display).update();
# delay(1); delay(1);
# id(cs_pin_bar3_right).turn_off(); id(cs_pin_bar3_right).turn_off();
#################### ####################
### draw scripts ### ### draw scripts ###
#################### ####################
# - id: bar1_left_draw - id: bar1_left_draw
# then: then:
# - lambda: |- - lambda: |-
# ESP_LOGD("TODO", "You need to extend the bar1_left_draw script to draw something on the bar display \n script: \n - id: !extend bar1_left_draw\n then:\n - lambda: |-\n \\ your draw scripts here!"); ESP_LOGD("TODO", "You need to extend the bar1_left_draw script to draw something on the bar display \n script: \n - id: !extend bar1_left_draw\n then:\n - lambda: |-\n \\ your draw scripts here!");
# - id: bar1_right_draw - id: bar1_right_draw
# then: then:
# - lambda: |- - lambda: |-
# ESP_LOGD("TODO", "You need to extend the bar1_right_draw script to draw something on the bar display \n script: \n - id: !extend bar1_right_draw\n then:\n - lambda: |-\n \\ your draw scripts here!"); ESP_LOGD("TODO", "You need to extend the bar1_right_draw script to draw something on the bar display \n script: \n - id: !extend bar1_right_draw\n then:\n - lambda: |-\n \\ your draw scripts here!");
# - id: bar2_left_draw - id: bar2_left_draw
# then: then:
# - lambda: |- - lambda: |-
# ESP_LOGD("TODO", "You need to extend the bar2_left_draw script to draw something on the bar display \n script: \n - id: !extend bar2_left_draw\n then:\n - lambda: |-\n \\ your draw scripts here!"); ESP_LOGD("TODO", "You need to extend the bar2_left_draw script to draw something on the bar display \n script: \n - id: !extend bar2_left_draw\n then:\n - lambda: |-\n \\ your draw scripts here!");
# - id: bar2_right_draw - id: bar2_right_draw
# then: then:
# - lambda: |- - lambda: |-
# ESP_LOGD("TODO", "You need to extend the bar2_right_draw script to draw something on the bar display \n script: \n - id: !extend bar2_right_draw\n then:\n - lambda: |-\n \\ your draw scripts here!"); ESP_LOGD("TODO", "You need to extend the bar2_right_draw script to draw something on the bar display \n script: \n - id: !extend bar2_right_draw\n then:\n - lambda: |-\n \\ your draw scripts here!");
# - id: bar3_left_draw - id: bar3_left_draw
# then: then:
# - lambda: |- - lambda: |-
# ESP_LOGD("TODO", "You need to extend the bar3_left_draw script to draw something on the bar display \n script: \n - id: !extend bar3_left_draw\n then:\n - lambda: |-\n \\ your draw scripts here!"); ESP_LOGD("TODO", "You need to extend the bar3_left_draw script to draw something on the bar display \n script: \n - id: !extend bar3_left_draw\n then:\n - lambda: |-\n \\ your draw scripts here!");
# - id: bar3_right_draw - id: bar3_right_draw
# then: then:
# - lambda: |- - lambda: |-
# ESP_LOGD("TODO", "You need to extend the bar3_right_draw script to draw something on the bar display \n script: \n - id: !extend bar3_right_draw\n then:\n - lambda: |-\n \\ your draw scripts here!"); ESP_LOGD("TODO", "You need to extend the bar3_right_draw script to draw something on the bar display \n script: \n - id: !extend bar3_right_draw\n then:\n - lambda: |-\n \\ your draw scripts here!");
############################## ##############################
### other handling scripts ### ### other handling scripts ###
############################## ##############################