Exercise 1: Walking LEDs on the K60 Tower

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

标记 (1)
附件
无评分
版本历史
最后更新:
‎03-17-2014 08:08 AM
更新人: