文件名称:LEDctrl
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 21kb
- 下载次数:
- 0次
- 提 供 者:
- b**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
keilc + proteus
并行口设计指示灯实验
要求:掌握80C51单片机输入输出接口使用方法
学会开关量输入输出控制的接口技术及编程方法
实验题目:8个发光二极管D1~D8分别接在单片机P1.0-P1.7端口上,一个开关接在P3.0上。要求输出端口输出 “0”时,发光二极管亮。开关闭合时,开始按P1.0-P1.1-...-P1.7的顺序依次点亮LED,再按 P1.7-P1.6 -...-P1.0的顺序点亮LED,重复循环。开关断开时,立刻停止点亮指示灯。-keilc+ proteus light parallel port design of experiments requirements: master the 80C51 microcontroller input and output interfaces Society of switch to use the amount of input and output control interface technology and programming methods Experimental subjects: eight light-emitting diodes D1 ~ D8, respectively connected to the MCU P1.0-P1 .7 port on a switch connected to the P3.0 on. Requested output port output " 0" , the light-emitting diode light. Is closed, to embark on the P1.0-P1.1-...- P1.7 in the order light LED, and then P1.7-P1.6-...- P1.0 order light LED Repeat cycle. Switch off when the stop light indicator.
并行口设计指示灯实验
要求:掌握80C51单片机输入输出接口使用方法
学会开关量输入输出控制的接口技术及编程方法
实验题目:8个发光二极管D1~D8分别接在单片机P1.0-P1.7端口上,一个开关接在P3.0上。要求输出端口输出 “0”时,发光二极管亮。开关闭合时,开始按P1.0-P1.1-...-P1.7的顺序依次点亮LED,再按 P1.7-P1.6 -...-P1.0的顺序点亮LED,重复循环。开关断开时,立刻停止点亮指示灯。-keilc+ proteus light parallel port design of experiments requirements: master the 80C51 microcontroller input and output interfaces Society of switch to use the amount of input and output control interface technology and programming methods Experimental subjects: eight light-emitting diodes D1 ~ D8, respectively connected to the MCU P1.0-P1 .7 port on a switch connected to the P3.0 on. Requested output port output " 0" , the light-emitting diode light. Is closed, to embark on the P1.0-P1.1-...- P1.7 in the order light LED, and then P1.7-P1.6-...- P1.0 order light LED Repeat cycle. Switch off when the stop light indicator.
相关搜索: 开关量
(系统自动生成,下载前可以参看下载内容)
下载文件列表
实验三\LEDCtrl
......\LEDCtrl.c
......\LEDCtrl.DSN
......\LEDCtrl.hex
......\LEDCtrl.lnp
......\LEDCtrl.LST
......\LEDCtrl.M51
......\LEDCtrl.OBJ
......\LEDCtrl.plg
......\LEDCtrl_Uv2.Bak
......\LEDCtrl.Uv2
......\LEDCtrl_Opt.Bak
......\LEDCtrl.Opt
......\LEDCtrl.PWI
实验三
......\LEDCtrl.c
......\LEDCtrl.DSN
......\LEDCtrl.hex
......\LEDCtrl.lnp
......\LEDCtrl.LST
......\LEDCtrl.M51
......\LEDCtrl.OBJ
......\LEDCtrl.plg
......\LEDCtrl_Uv2.Bak
......\LEDCtrl.Uv2
......\LEDCtrl_Opt.Bak
......\LEDCtrl.Opt
......\LEDCtrl.PWI
实验三