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:
@@ -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
|
||||
|
Reference in New Issue
Block a user