adc_temperature: Minor comment update
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
72100bc1f2
commit
89650a1e60
|
@ -84,7 +84,7 @@ class LinearInterpolate:
|
||||||
# Linear voltage to temperature converter
|
# Linear voltage to temperature converter
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
# Linear style conversion chips calibrated with two temp measurements
|
# Linear style conversion chips calibrated from temperature measurements
|
||||||
class LinearVoltage:
|
class LinearVoltage:
|
||||||
def __init__(self, config, params):
|
def __init__(self, config, params):
|
||||||
adc_voltage = config.getfloat('adc_voltage', 5., above=0.)
|
adc_voltage = config.getfloat('adc_voltage', 5., above=0.)
|
||||||
|
@ -124,7 +124,7 @@ class CustomLinearVoltage:
|
||||||
# Linear resistance to temperature converter
|
# Linear resistance to temperature converter
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
# Linear resistance calibrated with two temp measurements
|
# Linear resistance calibrated from temperature measurements
|
||||||
class LinearResistance:
|
class LinearResistance:
|
||||||
def __init__(self, config, samples):
|
def __init__(self, config, samples):
|
||||||
self.pullup = config.getfloat('pullup_resistor', 4700., above=0.)
|
self.pullup = config.getfloat('pullup_resistor', 4700., above=0.)
|
||||||
|
|
Loading…
Reference in New Issue