mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-19 08:52:15 +01:00
Merge pull request #5407 from pfeerick/patch-1
Minor change to example sketch comment
This commit is contained in:
commit
be9bbc3255
@ -41,7 +41,7 @@ int buttonState; // the current reading from the input pin
|
||||
int lastButtonState = LOW; // the previous reading from the input pin
|
||||
|
||||
// the following variables are unsigned long's because the time, measured in miliseconds,
|
||||
// will quickly become a bigger number than can't be stored in an int.
|
||||
// will quickly become a bigger number than can be stored in an int.
|
||||
unsigned long lastDebounceTime = 0; // the last time the output pin was toggled
|
||||
unsigned long debounceDelay = 50; // the debounce time; increase if the output flickers
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user