newaetech / chipshouter-picoemp

Why not run micropython on your EMFI tool?
405 stars 52 forks source link

Unreliable arming button in C firmware #14

Open invd opened 2 years ago

invd commented 2 years ago

First of all, @nezza thank you for the C firmware!

On my unit, it's hit-or-miss whether pressing the "arming" button actually toggles the arming state as intended. In my impression, short clicks are slightly more reliable, but I don't see a clear pattern. Typically, the arming-LED goes on or off briefly during the button click, but the overall state is not toggled and the LED reverts to the previous indication. This may be related to the button debouncing logic but I haven't looked at the code in any depth so far.

Changing the state via USB-serial is reliable and without any issues. I have not tried the micropython firmware version.

nezza commented 2 years ago

Hey!

The debouncing is definitely a bit too enterprise-grade at the moment 🙃 I haven't encountered this issue yet, but will check in the next days

Cheers, Thomas