gary36
Full Member level 4
Hi
I am implementing a PID controller and want to execute PID algorithm within an ISR. I have used the timer to trigger the interrupt . My problem is that how to keep ISR program small and how to redirect to other handler to deal with the PID. Secondly,The variables need to beglobal in order to correctly estimate the output value. How to do so? Using MPLABX IDE
I am implementing a PID controller and want to execute PID algorithm within an ISR. I have used the timer to trigger the interrupt . My problem is that how to keep ISR program small and how to redirect to other handler to deal with the PID. Secondly,The variables need to beglobal in order to correctly estimate the output value. How to do so? Using MPLABX IDE