Commit deeddd43 authored by João Lino's avatar João Lino

Setpoint for belgian

parent 12e0f4de
...@@ -24,8 +24,6 @@ int SetpointMode; ...@@ -24,8 +24,6 @@ int SetpointMode;
boolean relayState; boolean relayState;
double temperaturaQueAchava; double temperaturaQueAchava;
boolean fermentationMode;
void setup() void setup()
{ {
Serial.begin(115200); Serial.begin(115200);
...@@ -43,10 +41,9 @@ void setup() ...@@ -43,10 +41,9 @@ void setup()
leds[3] = LED4Pin; leds[3] = LED4Pin;
leds[4] = LED5Pin; leds[4] = LED5Pin;
leds[5] = LED6Pin; leds[5] = LED6Pin;
Setpoint = 24.0; Setpoint = 18.0;
SetpointMode = 0; SetpointMode = 0;
temperaturaQueAchava = 200.0; temperaturaQueAchava = 200.0;
fermentationMode = false;
// Relay // Relay
relayState = false; relayState = false;
...@@ -89,17 +86,11 @@ void loop() ...@@ -89,17 +86,11 @@ void loop()
if ( SetpointMode > 31 ) { if ( SetpointMode > 31 ) {
// set fermentation mode
fermentationMode = true;
///TODO set automatic fermentation temperatures ///TODO set automatic fermentation temperatures
Setpoint = SetpointMode - 32 + 0.5; Setpoint = SetpointMode - 32 + 0.5;
} }
else { else {
// set fermentation mode
fermentationMode = false;
// set manual temperatures // set manual temperatures
Setpoint = SetpointMode; Setpoint = SetpointMode;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment