From 152a64231acfec2b3a9e3ed82692c99d5177094f Mon Sep 17 00:00:00 2001 From: Thomas O Fredericks Date: Mon, 28 Mar 2022 19:56:01 -0400 Subject: [PATCH] Changed documention on where to put defines --- README.md | 4 ++-- docs/files/index.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7dae8c2..131de35 100644 --- a/README.md +++ b/README.md @@ -185,7 +185,7 @@ By default, the Bounce library uses a stable interval to process the debouncing. ## LOCK-OUT INTERVAL -By defining "#define BOUNCE_LOCK_OUT" in "Bounce.h" (or in your code before including "Bounce.h") you can activate an alternative debouncing method. This method is a lot more responsive, but does not cancel noise. +By defining "#define BOUNCE_LOCK_OUT" in "Bounce.h" you can activate an alternative debouncing method. This method is a lot more responsive, but does not cancel noise. ``` #define BOUNCE_LOCK_OUT @@ -195,7 +195,7 @@ By defining "#define BOUNCE_LOCK_OUT" in "Bounce.h" (or in your code before incl ## WITH PROMPT DETECTION -By defining "#define BOUNCE_WITH_PROMPT_DETECTION" in "Bounce.h" (or in your code before including "Bounce.h") you can activate an alternative debouncing method. Button state changes are available immediately so long as the previous state has been stable for the timeout period. Otherwise the state will be updated as soon as the timeout period allows. +By defining "#define BOUNCE_WITH_PROMPT_DETECTION" in "Bounce.h" you can activate an alternative debouncing method. Button state changes are available immediately so long as the previous state has been stable for the timeout period. Otherwise the state will be updated as soon as the timeout period allows. * Able to report acurate switch time normally with no delay. * Use when accurate switch transition timing is important. diff --git a/docs/files/index.html b/docs/files/index.html index be50e7a..c3c4cb3 100644 --- a/docs/files/index.html +++ b/docs/files/index.html @@ -209,11 +209,11 @@ $(function() {

By default, the Bounce library uses a stable interval to process the debouncing. This is simpler to understand and can cancel unwanted noise.

LOCK-OUT INTERVAL

-

By defining "#define BOUNCE_LOCK_OUT" in "Bounce.h" (or in your code before including "Bounce.h") you can activate an alternative debouncing method. This method is a lot more responsive, but does not cancel noise.

+

By defining "#define BOUNCE_LOCK_OUT" in "Bounce.h" you can activate an alternative debouncing method. This method is a lot more responsive, but does not cancel noise.

#define BOUNCE_LOCK_OUT

WITH PROMPT DETECTION

-

By defining "#define BOUNCE_WITH_PROMPT_DETECTION" in "Bounce.h" (or in your code before including "Bounce.h") you can activate an alternative debouncing method. Button state changes are available immediately so long as the previous state has been stable for the timeout period. Otherwise the state will be updated as soon as the timeout period allows.

+

By defining "#define BOUNCE_WITH_PROMPT_DETECTION" in "Bounce.h" you can activate an alternative debouncing method. Button state changes are available immediately so long as the previous state has been stable for the timeout period. Otherwise the state will be updated as soon as the timeout period allows.