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

17 lines
236 B
YAML
Raw Normal View History

spi:
- id: spi_mcp3204
clk_pin: 6
mosi_pin: 7
miso_pin: 5
mcp3204:
- id: mcp3204_hub
cs_pin: 8
sensor:
- platform: mcp3204
id: mcp3204_sensor
mcp3204_id: mcp3204_hub
number: 0
update_interval: 5s