Skip to content

Commit 7a68538

Browse files
authored
Merge pull request #1970 from evaherrada/navi10-fix-2
Fixed navi10
2 parents fd90d9e + 77ef22e commit 7a68538

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Navi10/kb.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@
22
# SPDX-License-Identifier: MIT
33

44
import board
5+
import digitalio
56

67
from kmk.kmk_keyboard import KMKKeyboard as _KMKKeyboard
78
from kmk.matrix import DiodeOrientation
89

910

1011
class KMKKeyboard(_KMKKeyboard):
12+
led = digitalio.DigitalInOut(board.D9)
13+
led.direction = digitalio.Direction.OUTPUT
14+
led.value = False
1115
row_pins = (board.D10, board.MOSI, board.MISO, board.D8)
1216
col_pins = (
1317
board.D4,

0 commit comments

Comments
 (0)