- print out digits

This commit is contained in:
jens
2020-12-14 17:23:06 +01:00
parent 73b567363b
commit 77dbca72ba
+1 -1
View File
@@ -48,7 +48,7 @@ class TempSensor_max31865(ATemperatureSensor):
return None
R = TempSensor_max31865.calc_R(430, digits)
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
@staticmethod