Update display configuration for improved stability and adjust backlight settings in Cat Medication Tracker
This commit is contained in:
@@ -64,10 +64,11 @@ display:
|
|||||||
cs_pin: GPIO15
|
cs_pin: GPIO15
|
||||||
dc_pin: GPIO2
|
dc_pin: GPIO2
|
||||||
reset_pin: GPIO4
|
reset_pin: GPIO4
|
||||||
|
reset_duration: 100ms
|
||||||
rotation: 0
|
rotation: 0
|
||||||
invert_colors: true
|
invert_colors: false
|
||||||
color_order: bgr
|
color_order: bgr
|
||||||
data_rate: 10MHz # Reduced from 20MHz to improve stability
|
data_rate: 10MHz
|
||||||
dimensions:
|
dimensions:
|
||||||
width: 320
|
width: 320
|
||||||
height: 480
|
height: 480
|
||||||
@@ -207,7 +208,7 @@ output:
|
|||||||
- platform: gpio
|
- platform: gpio
|
||||||
pin: GPIO21
|
pin: GPIO21
|
||||||
id: backlight_pwm
|
id: backlight_pwm
|
||||||
inverted: true
|
inverted: false
|
||||||
|
|
||||||
light:
|
light:
|
||||||
- platform: binary
|
- platform: binary
|
||||||
|
|||||||
Reference in New Issue
Block a user