mirror of
https://github.com/esphome/esphome.git
synced 2025-02-07 13:40:59 +00:00
feat: (Test) Update test to reflect what actually used
This commit is contained in:
parent
9d5d86b06c
commit
d72dbb640e
@ -138,6 +138,7 @@ display:
|
||||
number: GPIO32
|
||||
lambda: |-
|
||||
auto const red = Color(255, 0, 0);
|
||||
it.rectangle(0, 0, it.get_width() / 2, it.get_height() / 2);
|
||||
it.rectangle(it.get_width() / 2, it.get_height() / 2, it.get_width(), it.get_height(), red);
|
||||
it.filled_rectangle( 0, 0, it.get_width() / 2, it.get_height(), COLOR_ON);
|
||||
it.filled_rectangle(it.get_width() / 2, 0, it.get_width() / 2, it.get_height(), COLOR_OFF);
|
||||
it.filled_rectangle( 0, it.get_height() / 2, it.get_width(), it.get_height() / 2, red);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user