mirror of
https://github.com/Theaninova/Arduino-IRremote.git
synced 2026-01-07 13:52:47 +00:00
Add delay to IRrecvDemo Loop preventing duplicates
Prevents duplicates in serial when button was only pressed once.
This commit is contained in:
@@ -25,4 +25,5 @@ void loop() {
|
|||||||
Serial.println(results.value, HEX);
|
Serial.println(results.value, HEX);
|
||||||
irrecv.resume(); // Receive the next value
|
irrecv.resume(); // Receive the next value
|
||||||
}
|
}
|
||||||
|
delay(100);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user