Exercise 2: Toggle all 4 LEDs on the K60 Tower using the PIT0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Exercise 2: Toggle all 4 LEDs on the K60 Tower using the PIT0

Exercise 2: Toggle all 4 LEDs on the K60 Tower using the PIT0

To do:

Implement a program that lets the 4 LEDs on the Tower toggle all together using the PIT Interrupt.
For easy debugging, let the program run in the RAM.

* toggle period 0.5 s,

* extract vector table and service routines in 'vector.c.

Hint: Use the 'arm_cm4.c and 'arm_cm4.h' from the freescale kinetis homepage, which include access functions for the NVIC.

For ease of use, these routines are included in the result file.

Result: TWR_K60_PIT0.zip

Tags (3)
Attachments
No ratings
Version history
Last update:
‎03-17-2014 08:33 AM
Updated by: