mirror of
https://github.com/esphome/esphome.git
synced 2026-10-01 17:00:21 +00:00
[epaper_spi] Add T133A01 6-color e-paper driver for reTerminal E1004 (#16706)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> Co-authored-by: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com>
This commit is contained in:
co-authored by
pre-commit-ci-lite[bot]
Claude Opus 4.8
Clyde Stubbs
parent
e94fcda8b7
commit
7878052533
@@ -154,6 +154,10 @@ def test_all_predefined_models(
|
||||
if not model.get_default(CONF_CS_PIN):
|
||||
config[CONF_CS_PIN] = 5
|
||||
|
||||
# Dual-CS models (e.g. T133A01) require a second chip-select pin
|
||||
if model.manages_cs and not model.get_default("cs1_pin"):
|
||||
config["cs1_pin"] = 4
|
||||
|
||||
# Select an ESP32 variant on which all of this model's pins are valid
|
||||
# (some models default to high-numbered pins only present on the S3).
|
||||
choose_variant_with_pins(_pins_for(model, config))
|
||||
@@ -204,6 +208,10 @@ def test_individual_models(
|
||||
if not model.get_default(CONF_CS_PIN):
|
||||
config[CONF_CS_PIN] = 5
|
||||
|
||||
# Dual-CS models (e.g. T133A01) require a second chip-select pin
|
||||
if model.manages_cs and not model.get_default("cs1_pin"):
|
||||
config["cs1_pin"] = 4
|
||||
|
||||
# Select an ESP32 variant on which all of this model's pins are valid
|
||||
# (some models default to high-numbered pins only present on the S3).
|
||||
choose_variant_with_pins(_pins_for(model, config))
|
||||
|
||||
Reference in New Issue
Block a user