mirror of
https://github.com/openmv/openmv.git
synced 2025-09-26 23:09:13 +08:00
Fix hid.py example.
This commit is contained in:
parent
e895c5c424
commit
355cda2fcd
@ -7,7 +7,7 @@
|
||||
#
|
||||
# Add the following script to boot.py:
|
||||
#
|
||||
##import pyb (UNCOMMENT THIS LINE!)
|
||||
##import pyb #(UNCOMMENT THIS LINE!)
|
||||
##pyb.usb_mode('VCP+HID') # serial device + mouse (UNCOMMENT THIS LINE!)
|
||||
##pyb.usb_mode('VCP+MSC') # serial device + storage device (default)
|
||||
##pyb.usb_mode('VCP+HID', hid=pyb.hid_keyboard) # serial device + keyboard
|
||||
|
Loading…
Reference in New Issue
Block a user