I am trying to write an application that uses the LPTMR module of the FRDM-KL26Z to toggle an LED every second.
However, the LED is just lighting steadily. I am not sure if the ISR that I have created has been triggered or is correct. Below is the code for my LPTMR module.
The "DELAY_MS" has a value of 1000 in my header file.
RESET = 0 in my header file.
I got an idea that the ISR that I have created needs to be added in the startup file written in assembly.
Can anyone help me?
Thank you in advanced.