Skip to content

Commit

Permalink
Update scanners.md
Browse files Browse the repository at this point in the history
  • Loading branch information
regicidalplutophage authored Nov 7, 2024
1 parent 458a2f8 commit a39744a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/en/scanners.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class MyKeyboard(KMKKeyboard):
# optional arguments with defaults:
columns_to_anodes=DiodeOrientation.COL2ROW,
interval=0.01, # How often the matrix is sampled
debounce_threshold=2, # Number of samples needed to change state
debounce_threshold=5, # Number of samples needed to change state
max_events=64
)

Expand Down Expand Up @@ -70,7 +70,7 @@ class MyKeyboard(KMKKeyboard):
value_when_pressed=False,
pull=True,
interval=0.01, # How often the matrix is sampled
debounce_threshold=2, # Number of samples needed to change state
debounce_threshold=5, # Number of samples needed to change state
max_events=64
)
```
Expand All @@ -97,7 +97,7 @@ class MyKeyboard(KMKKeyboard):
value_to_latch=True, # 74HC165: True, CD4021: False
value_when_pressed=False,
interval=0.01, # How often the matrix is sampled
debounce_threshold=2, # Number of samples needed to change state
debounce_threshold=5, # Number of samples needed to change state
max_events=64
)
```
Expand Down

0 comments on commit a39744a

Please sign in to comment.