GPIO confusion fixed

MAX31855-EH
Sebastian Steuer 2013-11-29 23:50:47 +01:00
rodzic 0fd66725ce
commit 30b450c9d3
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -103,11 +103,11 @@ class Oven (threading.Thread):
if value:
self.air = 1.0
if gpio_available:
GPIO.output(GPIO_COOL, GPIO.LOW)
GPIO.output(GPIO_AIR, GPIO.LOW)
else:
self.air = 0.0
if gpio_available:
GPIO.output(GPIO_COOL, GPIO.HIGH)
GPIO.output(GPIO_AIR, GPIO.HIGH)
def get_state(self):
state = {