Support the PyBoard v1.1 as much as the Feather was, at least
This commit is contained in:
10
entrypoints/pyboard.py
Normal file
10
entrypoints/pyboard.py
Normal 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)
|
3
entrypoints/pyboard_boot.py
Normal file
3
entrypoints/pyboard_boot.py
Normal file
@@ -0,0 +1,3 @@
|
||||
import pyb
|
||||
|
||||
pyb.usb_mode('VCP+HID') # act as a serial device and a mouse
|
Reference in New Issue
Block a user