diff --git a/greenhouse.ino b/greenhouse.ino index 8c229347d442a966304ac7a3d1459b337c780bc2..979c541e7aea71a88df765b9eb8b49f38f08051c 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; }