Refactor display configuration: Add dimensions for the display to improve layout accuracy
This commit is contained in:
@@ -61,6 +61,9 @@ display:
|
|||||||
spi_id: tft_spi
|
spi_id: tft_spi
|
||||||
cs_pin: GPIO15
|
cs_pin: GPIO15
|
||||||
dc_pin: GPIO2
|
dc_pin: GPIO2
|
||||||
|
dimensions:
|
||||||
|
width: 320
|
||||||
|
height: 240
|
||||||
# Use palette mode to lower display buffer memory usage.
|
# Use palette mode to lower display buffer memory usage.
|
||||||
color_palette: 8BIT
|
color_palette: 8BIT
|
||||||
data_rate: 20MHz
|
data_rate: 20MHz
|
||||||
|
|||||||
Reference in New Issue
Block a user