You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can tell, to use USB-HID, you need to change boot.py to include:
import pyb
pyb.usb_mode()
However, this is not really an option with MicroHydra, so I propose before reseting to the apploader checking if it has some comment like #mh-usb_hid-enable or something similar to run pyb.usb_mode in the boot.py after reseting.
Of cource, this is just an idea, and I am not a MicroPython expert, but this seems to be the case.
The text was updated successfully, but these errors were encountered:
The example you sent seems to be specific to the Pyboard, and is not part of the ESP32 port of MicroPython.
Can I ask what functionality you're hoping to get from this? I'm having trouble determining what the goal of your feature request is, because is, because I don't think that code would do a lot on its own.
As far as I can tell, to use USB-HID, you need to change boot.py to include:
However, this is not really an option with MicroHydra, so I propose before reseting to the apploader checking if it has some comment like
#mh-usb_hid-enable
or something similar to run pyb.usb_mode in the boot.py after reseting.Of cource, this is just an idea, and I am not a MicroPython expert, but this seems to be the case.
The text was updated successfully, but these errors were encountered: