currently trying to debug my program on a teensy 4.1. Occasionally the main loop will freeze but my interval timer will continue running, so my guess is something is caught in a wait loop.
I'm also running the audio library, radiohead rf69, and the ST7789 tft library with frame buffer. My guess is it might be either the tft.waitUpdateAsyncComplete() call or possibly something in the radiohead library. My interval timer is reading an IR receiver every 100 microseconds and printing to serial when an incoming IR message is complete.
I don't have a clear question, just fishing for debugging ideas
is there a way to access the program counter? can I reset it to point to loop() if it gets stuck somewhere?
I'm also running the audio library, radiohead rf69, and the ST7789 tft library with frame buffer. My guess is it might be either the tft.waitUpdateAsyncComplete() call or possibly something in the radiohead library. My interval timer is reading an IR receiver every 100 microseconds and printing to serial when an incoming IR message is complete.
I don't have a clear question, just fishing for debugging ideas
is there a way to access the program counter? can I reset it to point to loop() if it gets stuck somewhere?
Last edited: