74hc595

所属分类:汇编语言
开发工具:Asm
文件大小:7KB
下载次数:129
上传日期:2009-03-12 22:35:33
上 传 者xfgm
说明:  此汇编程序实现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 (45568, 2009-03-12)

近期下载者

相关文件


收藏者