kmk_firmware/entrypoints/pyboard_boot.py

4 lines
74 B
Python
Raw Normal View History

import pyb
pyb.usb_mode('VCP+HID') # act as a serial device and a mouse