I'm using Teensy 4.x Serial ports for driving LED strips via WS2812Serial, either directly or indirectly via FastLED and they seem to freeze at random times (all LED strips at the same time). This happens especially while flashing new code, but also while running.
The most interesting part is that it seems to depend on code, somehow. It happened several times that a small (and unrelated) change made it unstable (freezing) while it was perfectly stable just before that change.
The only way for restoring functionality is to power down.
Is there a way for manually ensuring all Serial ports are properly reset?
Should you need to look at my code, here it is: https://github.com/lpaolini/Striptease
Thanks,
Luca
The most interesting part is that it seems to depend on code, somehow. It happened several times that a small (and unrelated) change made it unstable (freezing) while it was perfectly stable just before that change.
The only way for restoring functionality is to power down.
Is there a way for manually ensuring all Serial ports are properly reset?
Should you need to look at my code, here it is: https://github.com/lpaolini/Striptease
Thanks,
Luca
Last edited: