From 526934088c2ffe4a3f6e19bdd0fea197f3f646db Mon Sep 17 00:00:00 2001 From: "regicidal.plutophage" <36969337+regicidalplutophage@users.noreply.github.com> Date: Thu, 7 Nov 2024 21:28:01 +0300 Subject: [PATCH] Update scanners.md --- docs/en/scanners.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/en/scanners.md b/docs/en/scanners.md index 473197317..f8fd995ef 100644 --- a/docs/en/scanners.md +++ b/docs/en/scanners.md @@ -30,8 +30,8 @@ class MyKeyboard(KMKKeyboard): row_pins=self.row_pins, # optional arguments with defaults: columns_to_anodes=DiodeOrientation.COL2ROW, - interval=0.02, # How often the matrix is sampled - debounce_threshold=1, # Number of samples needed to change state + interval=0.01, # How often the matrix is sampled + debounce_threshold=2, # Number of samples needed to change state max_events=64 ) @@ -69,8 +69,8 @@ class MyKeyboard(KMKKeyboard): # optional arguments with defaults: value_when_pressed=False, pull=True, - interval=0.02, # How often the matrix is sampled - debounce_threshold=1, # Number of samples needed to change state + interval=0.01, # How often the matrix is sampled + debounce_threshold=2, # Number of samples needed to change state max_events=64 ) ``` @@ -96,8 +96,8 @@ class MyKeyboard(KMKKeyboard): # optional arguments with defaults: value_to_latch=True, # 74HC165: True, CD4021: False value_when_pressed=False, - interval=0.02, # How often the matrix is sampled - debounce_threshold=1, # Number of samples needed to change state + interval=0.01, # How often the matrix is sampled + debounce_threshold=2, # Number of samples needed to change state max_events=64 ) ```