mirror of
https://github.com/esphome/esphome.git
synced 2024-11-24 16:08:10 +01:00
17 lines
236 B
YAML
17 lines
236 B
YAML
|
spi:
|
||
|
- id: spi_mcp3204
|
||
|
clk_pin: 2
|
||
|
mosi_pin: 3
|
||
|
miso_pin: 4
|
||
|
|
||
|
mcp3204:
|
||
|
- id: mcp3204_hub
|
||
|
cs_pin: 6
|
||
|
|
||
|
sensor:
|
||
|
- platform: mcp3204
|
||
|
id: mcp3204_sensor
|
||
|
mcp3204_id: mcp3204_hub
|
||
|
number: 0
|
||
|
update_interval: 5s
|