mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 09:18:00 +01:00
f6848fe24d
* Initial changes to support testing of additional framework versions * Rename Arduino test files
27 lines
433 B
YAML
27 lines
433 B
YAML
spi:
|
|
- id: spi_sn74hc595
|
|
clk_pin: 6
|
|
mosi_pin: 7
|
|
miso_pin: 5
|
|
|
|
sn74hc595:
|
|
- id: sn74hc595_hub
|
|
clock_pin: 0
|
|
data_pin: 1
|
|
latch_pin: 2
|
|
oe_pin: 3
|
|
sr_count: 2
|
|
- id: sn74hc595_hub_2
|
|
latch_pin: 8
|
|
oe_pin: 9
|
|
spi_id: spi_sn74hc595
|
|
type: spi
|
|
sr_count: 2
|
|
|
|
switch:
|
|
- platform: gpio
|
|
name: SN74HC595 Pin 0
|
|
pin:
|
|
sn74hc595: sn74hc595_hub_2
|
|
number: 0
|
|
inverted: false
|