recently it got possessed - it makes the laptop mouse jumping around and clicking, a jump per second. It happens more often and right now, i cannot work anymore.
In the boot.py the pyboard is set to be a storage device. And it has been working for months, this new behavior started some weeks ago.
As soon as I pull the USB plug from the pyboard, the laptop is back to normal. Plug goes in, mouse starts jumping.
Rebooting the computer does not help either.
Anyone any idea?
Thanks!
The boot.py is:
Code: Select all
# boot.py -- run on boot-up
# can run arbitrary Python, but best to keep it minimal
import pyb
pyb.freq(168000000, 168000000, 42000000, 84000000) # default
#pyb.main('main Power Save.py') # main script to run after this one
pyb.usb_mode('VCP+MSC') # act as a serial and a storage device
#pyb.usb_mode('VCP+HID') # act as a serial device and a mouse
#eof