2022-01-28 20:30:31 +01:00
|
|
|
import board
|
|
|
|
|
|
|
|
from kmk.kmk_keyboard import KMKKeyboard as _KMKKeyboard
|
2022-04-09 02:09:24 +02:00
|
|
|
from kmk.scanners import DiodeOrientation
|
2022-01-28 20:30:31 +01:00
|
|
|
|
|
|
|
|
|
|
|
class KMKKeyboard(_KMKKeyboard):
|
|
|
|
row_pins = (board.D5, board.D6, board.D7, board.D8, board.D9)
|
|
|
|
col_pins = (
|
|
|
|
board.A1,
|
|
|
|
board.A0,
|
|
|
|
board.SCK,
|
|
|
|
board.MISO,
|
|
|
|
)
|
|
|
|
diode_orientation = DiodeOrientation.COLUMNS
|
|
|
|
i2c = board.I2C
|