文件名称:74hc595
介绍说明--下载内容均来自于网络,请自行研究使用
此汇编程序实现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