mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-13 08:03:32 +02:00
SPI schema now uses typed_schema with type key (#6353)
This commit is contained in:
+2
-10
@@ -23,20 +23,12 @@ psram:
|
||||
|
||||
spi:
|
||||
- id: spi_id_1
|
||||
type: single
|
||||
clk_pin:
|
||||
number: GPIO7
|
||||
allow_other_uses: false
|
||||
mosi_pin: GPIO6
|
||||
interface: any
|
||||
- id: quad_spi
|
||||
clk_pin: 47
|
||||
data_pins:
|
||||
- number: 40
|
||||
allow_other_uses: false
|
||||
- 41
|
||||
- 42
|
||||
- 43
|
||||
|
||||
interface: hardware
|
||||
spi_device:
|
||||
id: spidev
|
||||
data_rate: 2MHz
|
||||
|
||||
Reference in New Issue
Block a user