mirror of
https://github.com/esphome/esphome.git
synced 2024-12-29 17:01:43 +01:00
12 lines
219 B
YAML
12 lines
219 B
YAML
|
sensor:
|
||
|
- platform: adc
|
||
|
id: my_sensor
|
||
|
pin: VCC
|
||
|
- platform: resistance
|
||
|
sensor: my_sensor
|
||
|
configuration: DOWNSTREAM
|
||
|
resistor: 10kΩ
|
||
|
reference_voltage: 3.3V
|
||
|
name: Resistance
|
||
|
id: resist
|