Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8a78aa6

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 063ea98 commit 8a78aa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎examples/10.StarterKit/p03_LoveOMeter/p03_LoveOMeter.ino‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /