2019-03-01 02:07:23 +01:00
|
|
|
import board
|
|
|
|
|
|
|
|
from kmk.consts import DiodeOrientation
|
|
|
|
from kmk.mcus.circuitpython_samd51 import Firmware as _Firmware
|
|
|
|
from kmk.pins import Pin as P
|
|
|
|
|
|
|
|
|
|
|
|
class Firmware(_Firmware):
|
2019-03-02 22:19:03 +01:00
|
|
|
col_pins = (P.A5, P.A4, P.A3, P.A2, P.A1, P.A0)
|
|
|
|
row_pins = (P.D7, P.D9, P.D10, P.D11)
|
2019-03-01 02:07:23 +01:00
|
|
|
diode_orientation = DiodeOrientation.COLUMNS
|
2019-03-02 22:19:03 +01:00
|
|
|
rgb_pixel_pin = board.TX
|
|
|
|
uart_pin = board.SCL
|
2019-03-01 02:07:23 +01:00
|
|
|
split_type = 'UART'
|
|
|
|
split_flip = True
|
2019-03-02 22:19:03 +01:00
|
|
|
split_offsets = [6, 6, 6, 6]
|