From 30b450c9d3352bf7d86d4c7384ceba938253e884 Mon Sep 17 00:00:00 2001 From: Sebastian Steuer Date: Fri, 29 Nov 2013 23:50:47 +0100 Subject: [PATCH] GPIO confusion fixed --- oven.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oven.py b/oven.py index c205394..fd840de 100644 --- a/oven.py +++ b/oven.py @@ -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 = {