mirror of
https://github.com/esphome/esphome.git
synced 2024-11-14 11:08:10 +01:00
34cce0e920
Some checks are pending
CI / Create common environment (push) Waiting to run
CI / Check black (push) Blocked by required conditions
CI / Check flake8 (push) Blocked by required conditions
CI / Check pylint (push) Blocked by required conditions
CI / Check pyupgrade (push) Blocked by required conditions
CI / Run script/ci-custom (push) Blocked by required conditions
CI / Run pytest (macOS-latest, 3.11) (push) Blocked by required conditions
CI / Run pytest (ubuntu-latest, 3.10) (push) Blocked by required conditions
CI / Run pytest (ubuntu-latest, 3.11) (push) Blocked by required conditions
CI / Run pytest (ubuntu-latest, 3.12) (push) Blocked by required conditions
CI / Run pytest (ubuntu-latest, 3.9) (push) Blocked by required conditions
CI / Run pytest (windows-latest, 3.11) (push) Blocked by required conditions
CI / Check clang-format (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 1/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 2/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 3/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 4/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 IDF (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP8266 (push) Blocked by required conditions
CI / list-components (push) Blocked by required conditions
CI / Component test ${{ matrix.file }} (push) Blocked by required conditions
CI / Split components for testing into 20 groups maximum (push) Blocked by required conditions
CI / Test split components (push) Blocked by required conditions
CI / CI Status (push) Blocked by required conditions
YAML lint / yamllint (push) Waiting to run
Co-authored-by: Gilles van den Hoven <gilles0181@gmail.com> Co-authored-by: clydebarrow <2366188+clydebarrow@users.noreply.github.com>
36 lines
699 B
YAML
36 lines
699 B
YAML
spi:
|
|
- id: spi_main_lcd
|
|
clk_pin: 6
|
|
mosi_pin: 7
|
|
miso_pin: 5
|
|
|
|
display:
|
|
- platform: ili9xxx
|
|
invert_colors: true
|
|
dimensions: 320x240
|
|
transform:
|
|
swap_xy: true
|
|
mirror_x: true
|
|
mirror_y: false
|
|
model: TFT 2.4
|
|
color_palette: GRAYSCALE
|
|
cs_pin: 8
|
|
dc_pin: 9
|
|
reset_pin: 10
|
|
lambda: |-
|
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
|
- platform: ili9xxx
|
|
invert_colors: false
|
|
dimensions:
|
|
width: 320
|
|
height: 240
|
|
offset_width: 20
|
|
offset_height: 10
|
|
model: TFT 2.4
|
|
cs_pin: 2
|
|
dc_pin: 3
|
|
reset_pin: 4
|
|
auto_clear_enabled: false
|
|
rotation: 90
|
|
lambda: |-
|
|
it.fill(Color::WHITE);
|