29 lines
563 B
Python
Raw Normal View History

import board
from kmk.keyboard_config import KeyboardConfig as _KeyboardConfig
2019-07-25 01:06:09 -07:00
from kmk.matrix import DiodeOrientation
class KeyboardConfig(_KeyboardConfig):
col_pins = (
board.SDA,
board.A2,
board.A3,
board.A4,
board.A5,
board.SCK,
board.MOSI,
)
row_pins = (
board.TX,
board.A0,
board.RX,
board.A1,
board.D11,
board.D9,
board.D12,
board.D10,
)
diode_orientation = DiodeOrientation.COLUMNS
rgb_pixel_pin = board.D13