文件名称:anjian
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:24.6kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
(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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.