esphome/tests/components/mcp3204/test.esp32-idf.yaml

16 lines
240 B
YAML

spi:
- id: spi_mcp3204
clk_pin: 16
mosi_pin: 17
miso_pin: 15
mcp3204:
- id: mcp3204_hub
cs_pin: 12
sensor:
- platform: mcp3204
id: mcp3204_sensor
mcp3204_id: mcp3204_hub
number: 0
update_interval: 5s