Skip to content

Commit 9382e18

Browse files
committed
Update boot.py
1 parent 7c46e8d commit 9382e18

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

07.Mouse/boot.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,2 @@
1-
# boot.py -- run on boot-up
2-
# can run arbitrary Python, but best to keep it minimal
3-
41
import pyb
5-
#pyb.main('main.py') # main script to run after this one
6-
#pyb.usb_mode('CDC+MSC') # act as a serial and a storage device
7-
pyb.usb_mode('CDC+HID') # act as a serial device and a mouse
2+
pyb.usb_mode('CDC+HID') # act as a serial device and a mouse

0 commit comments

Comments
 (0)