1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

ST7789v - Allow predefined backlight pin to be disabled. (#5476)

* Allow predefined backlight pin to be disabled.

* Add test

* Update esphome/components/st7789v/display.py
This commit is contained in:
Clyde Stubbs
2023-10-04 12:10:26 +11:00
committed by GitHub
parent 050fa0d4c1
commit 506c2ba6c7
2 changed files with 6 additions and 3 deletions

View File

@@ -2948,7 +2948,7 @@ display:
cs_pin: GPIO5
dc_pin: GPIO16
reset_pin: GPIO23
backlight_pin: GPIO4
backlight_pin: no
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
- platform: st7920