mirror of
https://github.com/esphome/esphome.git
synced 2024-11-14 02:58:11 +01:00
7e5b100b77
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
12 lines
240 B
YAML
12 lines
240 B
YAML
sensor:
|
|
- platform: adc
|
|
id: my_sensor
|
|
pin: 32
|
|
attenuation: 11db
|
|
- platform: resistance
|
|
sensor: my_sensor
|
|
configuration: DOWNSTREAM
|
|
resistor: 10kΩ
|
|
reference_voltage: 3.3V
|
|
name: Resistance
|
|
id: resist
|