1
0
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:
rrachasak 2024-12-22 21:10:21 +07:00
parent 9d5d86b06c
commit d72dbb640e
No known key found for this signature in database

View File

@ -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);