From 2fd11dff55bfc5b9a866497a63005e361a4f09e7 Mon Sep 17 00:00:00 2001 From: Martijn Date: Sat, 30 Nov 2024 12:41:13 +0100 Subject: [PATCH] corrected bar1 right draw script --- package/1bar_1display_scripts.yaml | 2 +- package/2bar_1display_scripts.yaml | 2 +- package/3bar_1display_scripts.yaml | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package/1bar_1display_scripts.yaml b/package/1bar_1display_scripts.yaml index 8a4be63..7c214be 100644 --- a/package/1bar_1display_scripts.yaml +++ b/package/1bar_1display_scripts.yaml @@ -28,7 +28,7 @@ script: id(cs_pin_bar1_right).turn_on(); // << id(bar_display).clear(); id(bar_display).set_rotation(display::DisplayRotation::DISPLAY_ROTATION_90_DEGREES); - id(bar1_left_draw).execute(); + id(bar1_right_draw).execute(); id(bar_display).update(); delay(1); id(cs_pin_bar1_right).turn_off(); diff --git a/package/2bar_1display_scripts.yaml b/package/2bar_1display_scripts.yaml index 17d0ab3..4f9cdbd 100644 --- a/package/2bar_1display_scripts.yaml +++ b/package/2bar_1display_scripts.yaml @@ -36,7 +36,7 @@ script: id(cs_pin_bar3_right).turn_off(); id(bar_display).clear(); id(bar_display).set_rotation(display::DisplayRotation::DISPLAY_ROTATION_90_DEGREES); - id(bar1_left_draw).execute(); + id(bar1_right_draw).execute(); id(bar_display).update(); delay(1); id(cs_pin_bar1_right).turn_off(); diff --git a/package/3bar_1display_scripts.yaml b/package/3bar_1display_scripts.yaml index e42972d..92454eb 100644 --- a/package/3bar_1display_scripts.yaml +++ b/package/3bar_1display_scripts.yaml @@ -36,7 +36,7 @@ script: id(cs_pin_bar3_right).turn_off(); id(bar_display).clear(); id(bar_display).set_rotation(display::DisplayRotation::DISPLAY_ROTATION_90_DEGREES); - id(bar1_left_draw).execute(); + id(bar1_right_draw).execute(); id(bar_display).update(); delay(1); id(cs_pin_bar1_right).turn_off(); @@ -136,27 +136,27 @@ script: - id: bar1_left_draw then: - 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 then: - 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 then: - 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 then: - 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 then: - 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 then: - 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 ### ##############################