Added navi10 led

This commit is contained in:
dherrada 2022-01-10 12:39:23 -05:00 committed by Kyle Brown
parent 61de548acb
commit ef3d38f8ec

View File

@ -1,10 +1,14 @@
import board
import digitalio
from kmk.kmk_keyboard import KMKKeyboard as _KMKKeyboard
from kmk.matrix import DiodeOrientation
class KMKKeyboard(_KMKKeyboard):
led = digitalio.DigitalInOut(board.D9)
led.direction = digitalio.Direction.OUTPUT
led.value = False
row_pins = (board.D10, board.MOSI, board.MISO, board.D8)
col_pins = (
board.D4,