set_cs_pin
This commit is contained in:
@@ -11,21 +11,15 @@ script:
|
|||||||
then:
|
then:
|
||||||
- lambda: |-
|
- lambda: |-
|
||||||
// update display left:
|
// update display left:
|
||||||
id(display_bar1_left).turn_on();
|
id(bar_display).set_cs_pin(id((display_bar1_left));
|
||||||
delay(1);
|
|
||||||
id(bar_display).set_rotation(DisplayRotation::DISPLAY_ROTATION_270_DEGREES);
|
id(bar_display).set_rotation(DisplayRotation::DISPLAY_ROTATION_270_DEGREES);
|
||||||
id(bar1_left_page1).execute();
|
id(bar1_left_page1).execute();
|
||||||
id(bar_display).update();
|
id(bar_display).update();
|
||||||
id(display_bar1_left).turn_off();
|
|
||||||
delay(1);
|
|
||||||
// update display right:
|
// update display right:
|
||||||
id(display_bar1_right).turn_on();
|
id(bar_display).set_cs_pin(id((display_bar1_left));
|
||||||
delay(1);
|
|
||||||
id(bar_display).set_rotation(DisplayRotation::DISPLAY_ROTATION_90_DEGREES);
|
id(bar_display).set_rotation(DisplayRotation::DISPLAY_ROTATION_90_DEGREES);
|
||||||
id(bar1_right_page1).execute();
|
id(bar1_right_page1).execute();
|
||||||
id(bar_display).update();
|
id(bar_display).update();
|
||||||
id(display_bar1_right).turn_off();
|
|
||||||
delay(1);
|
|
||||||
- id: bar1_left_page1
|
- id: bar1_left_page1
|
||||||
then:
|
then:
|
||||||
- lambda: |-
|
- lambda: |-
|
||||||
|
|||||||
Reference in New Issue
Block a user