temperature_sensor: Add generic temperature sensor support

Signed-off-by: Douglas Hammond <wizhippo@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Douglas Hammond 2019-02-25 14:17:05 -05:00 committed by Kevin O'Connor
parent f9968904d6
commit b6589406d4
3 changed files with 44 additions and 6 deletions

View file

@ -125,11 +125,7 @@ resistance2: 2000
temperature3: 250
resistance3: 3000
[temperature_fan test_custom_resistance_adc]
pin: ar17
min_temp: 0
max_temp: 100
control: watermark
[temperature_sensor test_custom_resistance_adc]
sensor_type: my_custom_resistance_adc
sensor_pin: analog5