How to reset a Pico after USB HID examples? #4546
Replies: 1 comment
-
Posted at 2017-11-14 by @gfwilliams Yes, if you've remembered you could do a reset in software :) Otherwise have a look in Troubleshooting (http://www.espruino.com/Troubleshooting), under The last-ditch option is just to reflash your board, which will wipe out any saved code :) Posted at 2017-11-15 by ClearMemory041063 Had time to try the mouse driver today. Here's the code:
It's interesting that the WebIde still talks through the USB port with the mouse functions. Posted at 2017-11-16 by @gfwilliams Great!
Yes, that took a long time to get working right :) Posted at 2017-11-16 by ClearMemory041063 I've been searching for some Vogan poetry to further understand what is going on. Some of it gets really deep in the weeds. It covers the hardware and bus messages but importantly the Descriptors that are used in the module. This tool looks like it could be useful for creating a descriptor HID Descriptor Tool from USB.org @gfwilliams Espruino continues to amaze! Posted at 2017-11-16 by ClearMemory041063 Annotate the report descriptor
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-11-14 by ClearMemory041063
A question concerning this example page.
Espruino USB HID
If you copy one of the examples into the WebIde, send it to a Pico, and save it, how can you restore the Pico to its original state?
Perhaps rig a push button on a pin and do a setwatch on that pin that does a reset()?
Beta Was this translation helpful? Give feedback.
All reactions