Merge pull request #5407 from pfeerick/patch-1

Minor change to example sketch comment
This commit is contained in:
Martino Facchin 2016-09-23 15:10:01 +02:00 committed by GitHub
commit be9bbc3255
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ int buttonState; // the current reading from the input pin
int lastButtonState = LOW; // the previous 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, // 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 lastDebounceTime = 0; // the last time the output pin was toggled
unsigned long debounceDelay = 50; // the debounce time; increase if the output flickers unsigned long debounceDelay = 50; // the debounce time; increase if the output flickers