文件名称:74hc595
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:6.94kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
此汇编程序实现A/D转换功能,应用于pic单片机上,A/D采用中断方式。该程序通过单片机的RA2模拟通道送入一直流电压,当送入的直流电压大于2.5V时,8个LED闪动,当直流电压恢复到2.5V以下时,LED停止闪动。为了防止干扰,本程序对直流电压采样10次后再作判断,中间的采样结 果用间接寻址的方式存取。-Assembler implementation of this A/D conversion function, applied on pic Singlechip, A/D interrupt used. The program through the SCM RA2 Analog channels have been streaming into the voltage, when sent to the DC voltage greater than 2.5V, the 8 LED flashing, when the DC voltage back to 2.5V below, LED stop flashing. In order to prevent interference, the DC voltage on the sampling procedure 10 times and then to judge between the sampling results with indirect addressing access to.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
74hc595.doc
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
