Open davinbirdi opened 2 years ago
I have learned and verified usage of Semaphores to do this safely, in the one case of pausing and resuming the DPR PWM Cycle. I now need to be able to do this for multiple features in an organized manner.
This is working right now but it's just not organized. It will be once CAN is started to be setup and once the boards are talking to each other and this feature is needed.
It's working, it's just not cleanly done
I've got a basic setup for stopping the high-side switches using a loop, but that is having two different tasks using the same resource.
I need to do this in a safe manner, and in a way such that I can update other variables (I think only global variables). The basic way of just accessing the global variable might be enough, but I've now done some research on Semaphores and can discuss this with Xander.
Goals: