文件名称: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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.