Closed gerth2 closed 4 years ago
Add a separate, 200ms-updating thread which calculates what pattern the LED's should have, and sets the output to the PWM controller.
Shouldn't involve changing much of the existing code, just creating the threading wrapper and moving the update logic to that new thread.
reference this implementation for info on how to do it.
Waiting on Code testing, low priority tho.
Add a separate, 200ms-updating thread which calculates what pattern the LED's should have, and sets the output to the PWM controller.
Shouldn't involve changing much of the existing code, just creating the threading wrapper and moving the update logic to that new thread.
reference this implementation for info on how to do it.