Add delay to IRrecvDemo Loop preventing duplicates

Prevents duplicates in serial when button was only pressed once.
This commit is contained in:
P THE AWESOME
2014-08-04 16:19:07 -05:00
parent 6c7e2e0f72
commit 18591b037c

View File

@@ -25,4 +25,5 @@ void loop() {
Serial.println(results.value, HEX);
irrecv.resume(); // Receive the next value
}
delay(100);
}