mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 01:08:03 +01:00
28 lines
438 B
YAML
28 lines
438 B
YAML
|
spi:
|
||
|
- id: spi_sn74hc595
|
||
|
clk_pin: 14
|
||
|
mosi_pin: 13
|
||
|
miso_pin: 12
|
||
|
|
||
|
sn74hc595:
|
||
|
- id: sn74hc595_hub
|
||
|
clock_pin: 0
|
||
|
data_pin: 2
|
||
|
latch_pin: 4
|
||
|
oe_pin: 5
|
||
|
sr_count: 2
|
||
|
- id: sn74hc595_hub_2
|
||
|
latch_pin: 15
|
||
|
oe_pin: 16
|
||
|
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
|