Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debouncer_simpletest.py consistently crashes after 3xx cycles #21

Closed
ericklein opened this issue Aug 23, 2020 · 1 comment
Closed

debouncer_simpletest.py consistently crashes after 3xx cycles #21

ericklein opened this issue Aug 23, 2020 · 1 comment

Comments

@ericklein
Copy link

Hardware : Adafruit Itsy Bitsy M0
lib version: adafruit-circuitpython-bundle-5.x-mpy-20200821
python version: adafruit-circuitpython-itsybitsy_m0_express-en_US-5.3.1

I copy the debouncer_simpletest.py and only modify the pin assignment (D12 to A1, which can also be used as a digital io pin). Runs three hundred and twenty to thirty something cycles (output = "not pressed") then the board consistently soft reboots.

I've seen this also with https://github.com/todbot/MIDIPedalBox/blob/master/code/pedalbox_keyboard.py which has more sophisticated setup code for multiple buttons, but the same effect occurs.

I'm relatively new to CP coming from Arduino development, so I'm not helpful in debugging in the library code (yet!)

@ericklein
Copy link
Author

todbot can't reproduce this so I will close it until I can reproduce on other hardware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant