文件名称:AD
介绍说明--下载内容来自于网络,使用问题请自行百度
程序实现A/D转换功能,A/D采用中断方式。该程序通过单片机的RA2模拟通道送入一直流电压,当送入的直流电压大于2.5V时,与PORTD口相连的8个发光二极管闪动,当直流电压恢复到2.5V以下时,发光二极管停止闪动,且只有低四个发光。-Program for A/D conversion, A/D with interrupt. RA2 through the program the microcontroller analog channels into a DC voltage into DC voltage when the time is greater than 2.5V, and PORTD port connected to 8 LEDs flashing, when the DC voltage back to 2.5V or less, light-emitting diode stop flashing, and only four light-emitting low.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
AD.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.