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 a39744a commit 6a67ec0
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 @@ -30,7 +30,7 @@ class MyKeyboard(KMKKeyboard):
row_pins=self.row_pins,
# optional arguments with defaults:
columns_to_anodes=DiodeOrientation.COL2ROW,
interval=0.01, # How often the matrix is sampled
interval=0.01, # Matrix sampling interval in ms
debounce_threshold=5, # Number of samples needed to change state
max_events=64
)
Expand Down Expand Up @@ -69,7 +69,7 @@ class MyKeyboard(KMKKeyboard):
# optional arguments with defaults:
value_when_pressed=False,
pull=True,
interval=0.01, # How often the matrix is sampled
interval=0.01, # Matrix sampling interval in ms
debounce_threshold=5, # Number of samples needed to change state
max_events=64
)
Expand All @@ -96,7 +96,7 @@ class MyKeyboard(KMKKeyboard):
# optional arguments with defaults:
value_to_latch=True, # 74HC165: True, CD4021: False
value_when_pressed=False,
interval=0.01, # How often the matrix is sampled
interval=0.01, # Matrix sampling interval in ms
debounce_threshold=5, # Number of samples needed to change state
max_events=64
)
Expand Down

0 comments on commit 6a67ec0

Please sign in to comment.