Exercise 1: Walking LEDs on the K60 Tower

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

Exercise 1: Walking LEDs on the K60 Tower

Exercise 1: Walking LEDs on the K60 Tower

To do:

Implement a program that lets the 4 LEDs on the Tower walk like this:

* a single LED from left to right,

* then the two left ones, the two right ones,

* the two outside and at least the two LEDs in the middle.

For easy observing write a wait routine, called 'delay (unsigned int ms)', of about 1 second without using any library functions. The processor will start with the standard frequency of 20...25 MHz. Estimate the time, that a loop needs to realize the time.

Hint: Do not forget to stop the Watchdog Module at the beginning.

Result:TWR_K60_Lauflicht.zip  including a readme with the compiler options

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