- print out digits
This commit is contained in:
@@ -48,7 +48,7 @@ class TempSensor_max31865(ATemperatureSensor):
|
|||||||
return None
|
return None
|
||||||
R = TempSensor_max31865.calc_R(430, digits)
|
R = TempSensor_max31865.calc_R(430, digits)
|
||||||
T = TempSensor_max31865.vanDusen_temp(R) + self.temp_correction
|
T = TempSensor_max31865.vanDusen_temp(R) + self.temp_correction
|
||||||
print("R={:.3f} Ohm, T={:.2f} degC".format(R, T))
|
print("Digits={}, R={:.3f} Ohm, T={:.2f} degC".format(digits, R, T))
|
||||||
return T
|
return T
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user