esphome/tests/test8.yaml
Clyde Stubbs d2648657fb
Native SPI RGB LED component (#5288)
* Add testing branch to workflow

* Add workflow

* Checkpoint

* Align SPI data rates in c++ code with Python code.

* Checkpoint

* CI fixes

* Update codeowners

* Workflow cleanup

* Rename to spi_rgb_led

* Rename header file

* Clang tidy

* Disable spi after transfer.

* Move enable() to where it belongs

* Call spi_setup before enable

* Clang tidy

* Add test

* Rename to spi_led_strip

* Include 'defines.h'

* Fix CODEOWNERS

* Migrate data rate to new style setting.

* Remove defines.h

* Fix class name

* Fix name in .py

* And more more name tidy up.

---------

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2023-09-10 21:20:06 -05:00

83 lines
1.2 KiB
YAML

# Tests for ESP32-S3 boards
---
wifi:
ssid: "ssid"
esp32:
board: esp32s3box
variant: ESP32S3
framework:
type: arduino
esphome:
name: esp32-s3-test
logger:
debug:
psram:
light:
- platform: neopixelbus
type: GRB
variant: WS2812
pin: GPIO38
num_leds: 1
id: neopixel
method: esp32_rmt
name: neopixel-enable
internal: false
restore_mode: ALWAYS_OFF
- platform: spi_led_strip
num_leds: 4
color_correct: [80%, 60%, 100%]
id: rgb_led
name: "RGB LED"
data_rate: 8MHz
spi:
id: spi_id_1
clk_pin: GPIO7
mosi_pin: GPIO6
interface: any
spi_device:
id: spidev
data_rate: 2MHz
spi_id: spi_id_1
mode: 3
bit_order: lsb_first
display:
- platform: ili9xxx
model: ili9342
cs_pin: GPIO5
dc_pin: GPIO4
reset_pin: GPIO48
i2c:
scl: GPIO18
sda: GPIO8
touchscreen:
- platform: tt21100
interrupt_pin: GPIO3
reset_pin: GPIO48
binary_sensor:
- platform: tt21100
name: Home Button
index: 1
sensor:
- platform: debug
free:
name: "Heap Free"
block:
name: "Max Block Free"
loop_time:
name: "Loop Time"
psram:
name: "PSRAM Free"