We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fd90d9e + 77ef22e commit 7a68538Copy full SHA for 7a68538
Navi10/kb.py
@@ -2,12 +2,16 @@
2
# SPDX-License-Identifier: MIT
3
4
import board
5
+import digitalio
6
7
from kmk.kmk_keyboard import KMKKeyboard as _KMKKeyboard
8
from kmk.matrix import DiodeOrientation
9
10
11
class KMKKeyboard(_KMKKeyboard):
12
+ led = digitalio.DigitalInOut(board.D9)
13
+ led.direction = digitalio.Direction.OUTPUT
14
+ led.value = False
15
row_pins = (board.D10, board.MOSI, board.MISO, board.D8)
16
col_pins = (
17
board.D4,
0 commit comments