Remove a ton of leftover MicroPython code and abstractions, including all of kmk.pins

This commit is contained in:
Josh Klar
2019-07-25 00:32:20 -07:00
parent 86c8e006e0
commit 8c57844a22
27 changed files with 179 additions and 210 deletions

View File

@@ -2,12 +2,11 @@ import board
from kmk.consts import DiodeOrientation
from kmk.mcus.circuitpython_usbhid import KeyboardConfig as _KeyboardConfig
from kmk.pins import Pin as P
class KeyboardConfig(_KeyboardConfig):
col_pins = (P.A2, P.A3, P.A4, P.A5, P.SCK, P.MOSI)
row_pins = (P.D13, P.D11, P.D10, P.D9)
col_pins = (board.A2, board.A3, board.A4, board.A5, board.SCK, board.MOSI)
row_pins = (board.D13, board.D11, board.D10, board.D9)
diode_orientation = DiodeOrientation.COLUMNS
split_type = 'UART'