This commit is contained in:
@@ -22,27 +22,27 @@ script:
|
||||
- id: update_display_1
|
||||
then:
|
||||
- lambda: |-
|
||||
id(cs_pin_3).turn_off(); // CS actief voor Display 1
|
||||
id(cs_pin_4).turn_on();
|
||||
id(cs_pin_3).turn_on(); // CS actief voor Display 1
|
||||
id(cs_pin_4).turn_off();
|
||||
// id(cs_pin_3).write(true);
|
||||
// id(cs_pin_4).write(true);
|
||||
|
||||
id(bar1_left_page1).execute();
|
||||
id(bar_display).update();
|
||||
delay(10); // Optioneel voor stabiliteit
|
||||
id(cs_pin_3).turn_on(); // CS inactief na update
|
||||
id(cs_pin_3).turn_off(); // CS inactief na update
|
||||
- id: update_display_2
|
||||
then:
|
||||
- lambda: |-
|
||||
id(cs_pin_3).turn_on();
|
||||
id(cs_pin_4).turn_off(); // CS actief voor Display 2
|
||||
id(cs_pin_3).turn_off();
|
||||
id(cs_pin_4).turn_on(); // CS actief voor Display 2
|
||||
// id(cs_pin_3).write(true);
|
||||
// id(cs_pin_4).write(true);
|
||||
|
||||
id(bar1_right_page1).execute();
|
||||
id(bar_display).update();
|
||||
delay(10); // Optioneel voor stabiliteit
|
||||
id(cs_pin_4).turn_on(); // CS inactief na update
|
||||
id(cs_pin_4).turn_off(); // CS inactief na update
|
||||
- id: bar1_left_page1
|
||||
then:
|
||||
- lambda: |-
|
||||
|
||||
Reference in New Issue
Block a user