Support the PyBoard v1.1 as much as the Feather was, at least

This commit is contained in:
Josh Klar
2018-09-16 00:15:16 -07:00
parent c5f87fae74
commit f5fc555ac5
6 changed files with 134 additions and 9 deletions

10
entrypoints/pyboard.py Normal file
View File

@@ -0,0 +1,10 @@
import sys
from kmk_keyboard_user import main
if __name__ == '__main__':
try:
main()
except Exception as e:
sys.print_exception(e)
sys.exit(1)

View File

@@ -0,0 +1,3 @@
import pyb
pyb.usb_mode('VCP+HID') # act as a serial device and a mouse