Skip to content

Commit

Permalink
Merge branch 'master' into machinestate
Browse files Browse the repository at this point in the history
  • Loading branch information
murmeltier08 authored Oct 9, 2021
2 parents 294bd94 + 0a05cf8 commit 1a1be4e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions rancilio-pid/rancilio-pid/rancilio-pid.ino
Original file line number Diff line number Diff line change
Expand Up @@ -398,13 +398,6 @@ BLYNK_WRITE(V6) {
}

BLYNK_WRITE(V7) {
if (machinestate == kColdStart) //antiwindup by coldstart
{
bPID.SetOutputLimits(0.0, 1.0); // Forces minimum up to 0.0
bPID.SetOutputLimits(-1.0, 0.0); // Forces maximum down to 0.0
bPID.Compute() ;
bPID.SetOutputLimits(0, windowSize); // reset window
}
BrewSetPoint = param.asDouble();
mqtt_publish("BrewSetPoint", number2string(BrewSetPoint));
}
Expand Down

0 comments on commit 1a1be4e

Please sign in to comment.