mirror of
https://github.com/esphome/esphome.git
synced 2025-09-03 20:02:22 +01: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