RobotCasserole1736 / RobotCasserole2020

Software for Robot Casserole's 2020 FIRST Infinite Recharge competition season
MIT License
1 stars 0 forks source link

Re-enable LED patterns in a separate thread #93

Closed gerth2 closed 4 years ago

gerth2 commented 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.

gr1ml0ck01 commented 4 years ago

Waiting on Code testing, low priority tho.