update 2.0.x

MKS Robin Nano-s v1.3 support
This commit is contained in:
Sergey
2021-08-20 12:09:09 +03:00
parent fe39eefab5
commit e30d47d19b
197 changed files with 64771 additions and 687 deletions

View File

@@ -73,7 +73,7 @@ class Thermistor:
return r
def temp(self, adc):
"Convert ADC reading into a temperature in Celcius"
"Convert ADC reading into a temperature in Celsius"
l = log(self.resist(adc))
Tinv = self.c1 + self.c2*l + self.c3* l**3 # inverse temperature
return (1/Tinv) - ZERO # temperature