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
The actual example is significantly longer, but I narrowed it down to the following 10 lines of code to reproduce it. Tested on two different NeoKey Trinkeys running the same firmware.
Limor reported that the original example worked fine a few weeks ago. (If I change the setup order, it works now.)
I tried this on a Rotary Trinkey pretending to be a NeoKey Trinkey, and it did not crash. My lib/ directory is completely empty, so I am using all the frozen versions, and using _pypixelbuf.
Reproduced! Thanks. It has to be in code.py, so it's timing-related. I think this may be a race condition between fetching usb_hid.devices and USB setup.
The actual example is significantly longer, but I narrowed it down to the following 10 lines of code to reproduce it. Tested on two different NeoKey Trinkeys running the same firmware.
Limor reported that the original example worked fine a few weeks ago. (If I change the setup order, it works now.)
Firmware
Code/REPL
Behavior
Save the above example as code.py on a NeoKey Trinkey, and it will enter safe mode with the following info.
If you setup the NeoPixel before the keyboard, it does not crash into the hardfault handler.
The text was updated successfully, but these errors were encountered: