- more filtering

pull/1/head
jbruce12000 2018-12-23 13:13:38 -05:00
rodzic 85dad99945
commit 6e2ac3c05b
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -228,10 +228,10 @@ class TempSensorReal(TempSensor):
def run(self):
while True:
maxtries = 5.0
sleeptime = self.time_step / maxtries
maxtries = 5
sleeptime = self.time_step / float(maxtries)
maxtemp = 0
for x in range(0,5):
for x in range(0,maxtries):
try:
temp = self.thermocouple.get()
except Exception: