I'm using a PIC based MCU. In the main function, I'm using a while loop and doing multiple if else analysis.
I want to calculate the time taken to run the loop each time for some further analysis.
Is it possible to have a timer within the code to calculate this?
I want to calculate the time taken to run the loop each time for some further analysis.
Is it possible to have a timer within the code to calculate this?