This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to toggle LED with Periodic Interrupt Timer?

I am new to ARM programming .I am using K20 MK20DX256 MCU with 72MHz Clock to toggle an LED every 1second with Periodic Interrupt Timer 0. The code compiles Fine but LED does not toggle .I found out that configuring Timer together with LED does not work while LED alone does work
I have written the following code in keil Uvision
```

#include "MK20D7.h"
#include <stdio.h>


Can anyone help me in finding out what is wrong with this code?



0