Misc. cleanup around the tree

This commit is contained in:
Josh Klar
2018-09-16 20:50:05 -07:00
parent 7f88f4f415
commit 88807837d5
3 changed files with 13 additions and 7 deletions

View File

@@ -1,12 +1,16 @@
from logging import DEBUG
import machine
from kmk.common.consts import DiodeOrientation
from kmk.firmware import Firmware
def main():
cols = ('X10', 'X11', 'X12')
rows = ('X1', 'X2', 'X3')
p = machine.Pin.board
cols = (p.X10, p.X11, p.X12)
rows = (p.X1, p.X2, p.X3)
diode_orientation = DiodeOrientation.COLUMNS