文件名称:anjian
介绍说明--下载内容均来自于网络,请自行研究使用
(1)每按下一次开关SP1,计数值加1,通过P0端口的P0.0到P0.3显示出其的二进制计数值;
(2)上电的时候,L1接在P0.0管脚上的发光二极管在闪烁,当每一次按下开关SP1的时候,L2接在P0.1管脚上的发光二极管在闪烁,再按下开关SP1的时候,L3接在P0.2管脚上的发光二极管在闪烁,再按下开关SP1的时候,L4接在P0.3管脚上的发光二极管在闪烁,再按下开关SP1的时候,又轮到L1在闪烁了,如此轮流下去。
-(1) Every pressing a switch SP1, count by 1, by P0 port P0.0 to P0.3 shows the binary count (2) When the power, L1 connected to the P0.0 pin blinking LED on, when every time switch SP1, when pressed, L2 connected to the P0.1 pin on the LED is flashing, then press the time switch SP1, L3 connected to the P0.2 pin on LED is flashing, then press the switch when SP1, L4 connected to the P0.3 pin on the LED is flashing, then press the switch when the SP1, then turn at the flashing L1, and so turn down.
(2)上电的时候,L1接在P0.0管脚上的发光二极管在闪烁,当每一次按下开关SP1的时候,L2接在P0.1管脚上的发光二极管在闪烁,再按下开关SP1的时候,L3接在P0.2管脚上的发光二极管在闪烁,再按下开关SP1的时候,L4接在P0.3管脚上的发光二极管在闪烁,再按下开关SP1的时候,又轮到L1在闪烁了,如此轮流下去。
-(1) Every pressing a switch SP1, count by 1, by P0 port P0.0 to P0.3 shows the binary count (2) When the power, L1 connected to the P0.0 pin blinking LED on, when every time switch SP1, when pressed, L2 connected to the P0.1 pin on the LED is flashing, then press the time switch SP1, L3 connected to the P0.2 pin on LED is flashing, then press the switch when SP1, L4 connected to the P0.3 pin on the LED is flashing, then press the switch when the SP1, then turn at the flashing L1, and so turn down.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
《按键识别技术应用实验》实验报告模板.doc