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)
附件
%3CLINGO-SUB%20id%3D%22lingo-sub-1112620%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E7%BB%83%E4%B9%A0%201%EF%BC%9AK60%20%E5%A1%94%E4%B8%8A%E7%9A%84%E8%A1%8C%E8%B5%B0%20LED%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1112620%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3Dutf-8%22%20%2F%26gt%3B%0A%3CP%3E%E5%BE%85%E5%8A%9E%E4%BA%8B%E9%A1%B9%EF%BC%9A%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E5%AE%9E%E7%8E%B0%E4%B8%80%E4%B8%AA%E7%A8%8B%E5%BA%8F%EF%BC%8C%E8%AE%A9%E5%A1%94%E4%B8%8A%E7%9A%844%E4%B8%AALED%E5%83%8F%E8%BF%99%E6%A0%B7%E8%A1%8C%E8%B5%B0%EF%BC%9A%3C%2FP%3E%3CP%3E*%20%E4%BB%8E%E5%B7%A6%E5%88%B0%E5%8F%B3%E4%B8%80%E4%B8%AA%20LED%EF%BC%8C%3C%2FP%3E%3CP%3E*%20%E7%84%B6%E5%90%8E%E6%98%AF%E5%B7%A6%E8%BE%B9%E4%B8%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%E7%8B%97%E6%A8%A1%E5%9D%97%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E7%BB%93%E6%9E%9C%EF%BC%9ATWR_K60_Lauflicht.zip%20%E5%8C%85%E5%90%AB%E5%B8%A6%E6%9C%89%E7%BC%96%E8%AF%91%E5%99%A8%E9%80%89%E9%A1%B9%E7%9A%84%E8%87%AA%E8%BF%B0%E6%96%87%E4%BB%B6%3C%2FP%3E%3C%2FLINGO-BODY%3E
无评分
版本历史
最后更新:
‎03-17-2014 08:08 AM
更新人: