Added navi10 led
This commit is contained in:
parent
61de548acb
commit
ef3d38f8ec
@ -1,10 +1,14 @@
|
|||||||
import board
|
import board
|
||||||
|
import digitalio
|
||||||
|
|
||||||
from kmk.kmk_keyboard import KMKKeyboard as _KMKKeyboard
|
from kmk.kmk_keyboard import KMKKeyboard as _KMKKeyboard
|
||||||
from kmk.matrix import DiodeOrientation
|
from kmk.matrix import DiodeOrientation
|
||||||
|
|
||||||
|
|
||||||
class KMKKeyboard(_KMKKeyboard):
|
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)
|
row_pins = (board.D10, board.MOSI, board.MISO, board.D8)
|
||||||
col_pins = (
|
col_pins = (
|
||||||
board.D4,
|
board.D4,
|
||||||
|
Loading…
Reference in New Issue
Block a user