mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-13 16:13:32 +02:00
Add constants used by multiple display drivers to global const.py (#6033)
* Add constants used by multiple display drivers to global const.py * Add further constants * Refactor st7789v and st7735v
This commit is contained in:
@@ -14,12 +14,12 @@ from esphome.const import (
|
||||
CONF_POWER_SUPPLY,
|
||||
CONF_ROTATION,
|
||||
CONF_CS_PIN,
|
||||
CONF_OFFSET_HEIGHT,
|
||||
CONF_OFFSET_WIDTH,
|
||||
)
|
||||
from . import st7789v_ns
|
||||
|
||||
CONF_EIGHTBITCOLOR = "eightbitcolor"
|
||||
CONF_OFFSET_HEIGHT = "offset_height"
|
||||
CONF_OFFSET_WIDTH = "offset_width"
|
||||
|
||||
CODEOWNERS = ["@kbx81"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user