thermistor: Add support for defining custom thermistors

Add the ability to define a new thermistor type in the config file.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2018-04-09 12:14:20 -04:00
parent f8a28401c0
commit 8c8261ba80
3 changed files with 54 additions and 2 deletions

View File

@@ -146,8 +146,9 @@ heater_pin: ar10
# periods) to the heater. The default is 1.0.
sensor_type: EPCOS 100K B57560G104F
# Type of sensor - this may be "EPCOS 100K B57560G104F", "ATC
# Semitec 104GT-2", "NTC 100K beta 3950", or "AD595". This parameter
# must be provided.
# Semitec 104GT-2", "NTC 100K beta 3950", or "AD595". Additional
# sensor types may be available - see the example-extras.cfg file
# for details. This parameter must be provided.
sensor_pin: analog13
# Analog input pin connected to the sensor. This parameter must be
# provided.