fix 1BAR / 1 Display Setup

This commit is contained in:
Martijn
2024-12-07 20:37:01 +01:00
parent 79e1fc162a
commit bb7b7c1faa
3 changed files with 183 additions and 21 deletions
+2 -18
View File
@@ -19,7 +19,7 @@ script:
id(bar_display).set_rotation(display::DisplayRotation::DISPLAY_ROTATION_270_DEGREES);
id(bar1_left_draw).execute();
id(bar_display).update();
delay(1);
delay(2);
id(cs_pin_bar1_left).turn_off();
- id: update_bar1_right
then:
@@ -30,7 +30,7 @@ script:
id(bar_display).set_rotation(display::DisplayRotation::DISPLAY_ROTATION_90_DEGREES);
id(bar1_right_draw).execute();
id(bar_display).update();
delay(1);
delay(2);
id(cs_pin_bar1_right).turn_off();
##################################
### setup mini display scripts ###
@@ -63,19 +63,3 @@ script:
- component.update: main_display
- script.execute: update_bar1_left
- script.execute: update_bar1_right
- id: next_page_main
then:
- display.page.show_next: main_display
- script.execute: update_main
- id: next_page_all
then:
- display.page.show_next: main_display
- script.execute: update_all
- id: prev_page_main
then:
- display.page.show_previous: main_display
- script.execute: update_main
- id: prev_page_all
then:
- display.page.show_previous: main_display
- script.execute: update_all