mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-01 12:24:14 +01:00
Fixed behaviour in the falling phase PJ03 StarterKit
According to #2585 there was a "glitch" in the falling phase because of a missing +2 in the first condition
This commit is contained in:
parent
b1a5038c69
commit
1d7bdb5050
@ -60,7 +60,7 @@ void loop() {
|
||||
|
||||
// if the current temperature is lower than the baseline
|
||||
// turn off all LEDs
|
||||
if (temperature < baselineTemp) {
|
||||
if (temperature < baselineTemp + 2) {
|
||||
digitalWrite(2, LOW);
|
||||
digitalWrite(3, LOW);
|
||||
digitalWrite(4, LOW);
|
||||
|
Loading…
Reference in New Issue
Block a user