When hitting "read" of the button in rapid succession, the Teensy somehow stopped working and had to be reset manually. To fix this problem, I used a Watchdog-Timer which is fed periodically and resets the teensy after 30s, if not "fed". The library used for this is the WDT_T4 library by tonton81.
The reason for the bug under load is yet to be determined.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.