I am running a for loop inside a task (also tried dispatchertimer and threadpooltimer) to create an animated sequence. At the end of the setpixel loop I call .show(). It all works fine however if it runs for a few seconds I get strange issues happening in my app. For example I have a looping sound playing. It will stop abruptly. Additionally I am using a few GPIO pins to detect button presses. Those also stop working. I have confirmed that if I comment out the .Show() method everything works.
Too many calls to .Show() make things stop working in my app. There are no errors and the light strip keeps functioning. What is happening here?
I am running a for loop inside a task (also tried dispatchertimer and threadpooltimer) to create an animated sequence. At the end of the setpixel loop I call .show(). It all works fine however if it runs for a few seconds I get strange issues happening in my app. For example I have a looping sound playing. It will stop abruptly. Additionally I am using a few GPIO pins to detect button presses. Those also stop working. I have confirmed that if I comment out the .Show() method everything works.
Too many calls to .Show() make things stop working in my app. There are no errors and the light strip keeps functioning. What is happening here?