mirror of
https://github.com/esphome/esphome.git
synced 2024-12-29 17:01:43 +01:00
f6848fe24d
* Initial changes to support testing of additional framework versions * Rename Arduino test files
17 lines
264 B
YAML
17 lines
264 B
YAML
spi:
|
|
- id: spi_mcp3008
|
|
clk_pin: 6
|
|
mosi_pin: 7
|
|
miso_pin: 5
|
|
|
|
mcp3008:
|
|
- id: mcp3008_hub
|
|
cs_pin: 8
|
|
|
|
sensor:
|
|
- platform: mcp3008
|
|
id: mcp3008_sensor
|
|
mcp3008_id: mcp3008_hub
|
|
number: 0
|
|
reference_voltage: 3.19
|
|
update_interval: 5s
|