From 332931e3a697f58a4f25106cc91c8f3521fa3d14 Mon Sep 17 00:00:00 2001 From: agdl Date: Wed, 31 Aug 2016 16:29:40 +0200 Subject: [PATCH] Fixed example comment --- build/shared/examples/02.Digital/Debounce/Debounce.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/shared/examples/02.Digital/Debounce/Debounce.ino b/build/shared/examples/02.Digital/Debounce/Debounce.ino index 6b428ce4f..3ea8727c6 100644 --- a/build/shared/examples/02.Digital/Debounce/Debounce.ino +++ b/build/shared/examples/02.Digital/Debounce/Debounce.ino @@ -40,8 +40,8 @@ int ledState = HIGH; // the current state of the output pin int buttonState; // the current reading from the input pin int lastButtonState = LOW; // the previous reading from the input pin -// the following variables are long's because the time, measured in miliseconds, -// will quickly become a bigger number than can be stored in an int. +// 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. unsigned long lastDebounceTime = 0; // the last time the output pin was toggled unsigned long debounceDelay = 50; // the debounce time; increase if the output flickers