msp430

所属分类:单片机开发
开发工具:Objective-C
文件大小:13KB
下载次数:7
上传日期:2014-07-17 22:04:27
上 传 者matlab2016
说明:   将P6口输入的模拟电压AD转换后,从P4、P5口连接的数码管输出。 使用AD单通道多次转换,采集P6.0输入的模拟电压值(变化范围:0~3.3V),转换为数字量。 建立二维数组和通过顺序查表的方法得出采集回来的电压值。然后通过数码管显示当前电压值,显 示跟随输入的模拟电压的变化。由于只有两位数码管,故显示电压值精确到小数点后一位,如当前 输入电压2.37V,则显示2.4V。可用万用表检测显示是否准确。
(After the P6 port analog voltage input AD converter, from P4, P5 port to connect the digital output. The use of multiple single-channel AD converter, collecting P6.0 input analog voltage value (range: 0 ~ 3.3V), converted to a digital value. Establish two-dimensional array and draw back the voltage value through the acquisition sequence look-up table approach. Then displays the current voltage value through the digital, display Show follows the input analog voltage changes. Since only two digital tube, it shows the voltage values ​ ​ are accurate to one decimal place, such as the current Input voltage 2.37V, displays 2.4V. Available multimeter test shows whether accurate.)

文件列表:
msp430.docx (15721, 2014-07-17)

近期下载者

相关文件


收藏者