From deeddd4373addfea65abf2c0fdaed208285f5c2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Lino?= Date: Thu, 7 Jun 2018 16:04:02 +0100 Subject: [PATCH] Setpoint for belgian --- greenhouse.ino | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/greenhouse.ino b/greenhouse.ino index 8c22934..979c541 100644 --- a/greenhouse.ino +++ b/greenhouse.ino @@ -24,8 +24,6 @@ int SetpointMode; boolean relayState; double temperaturaQueAchava; -boolean fermentationMode; - void setup() { Serial.begin(115200); @@ -43,10 +41,9 @@ void setup() leds[3] = LED4Pin; leds[4] = LED5Pin; leds[5] = LED6Pin; - Setpoint = 24.0; + Setpoint = 18.0; SetpointMode = 0; temperaturaQueAchava = 200.0; - fermentationMode = false; // Relay relayState = false; @@ -89,17 +86,11 @@ void loop() if ( SetpointMode > 31 ) { - // set fermentation mode - fermentationMode = true; - ///TODO set automatic fermentation temperatures Setpoint = SetpointMode - 32 + 0.5; } else { - // set fermentation mode - fermentationMode = false; - // set manual temperatures Setpoint = SetpointMode; } -- 2.24.1