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

Setpoint for belgian

parent 12e0f4de
......@@ -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;
}
......
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