Skip to content

Commit 1d7bdb5

Browse files
committed
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
1 parent b1a5038 commit 1d7bdb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: build/shared/examples/10.StarterKit/p03_LoveOMeter/p03_LoveOMeter.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ void loop() {
6060

6161
// if the current temperature is lower than the baseline
6262
// turn off all LEDs
63-
if (temperature < baselineTemp) {
63+
if (temperature < baselineTemp + 2) {
6464
digitalWrite(2, LOW);
6565
digitalWrite(3, LOW);
6666
digitalWrite(4, LOW);

0 commit comments

Comments
 (0)