文件名称:AD
介绍说明--下载内容均来自于网络,请自行研究使用
使用AD单通道多次转换,采集P6.0输入的模拟电压值(变化范围:0~将P6口输入的模拟电压AD转换后,从P4、P5口连接的数码管输出。
使用AD单通道多次转换,采集P6.0输入的模拟电压值(变化范围:0~3.3V),转换为数字量。
建立二维数组和通过顺序查表的方法得出采集回来的电压值。然后通过数码管显示当前电压值,显
示跟随输入的模拟电压的变化。由于只有两位数码管,故显示电压值精确到小数点后一位,如当前
输入电压2.37V,则显示2.4V。可用万用表检测显示是否准确。 -Use AD single channel multiple conversion, acquisition P6.0 input analog voltage value (range: 0 ~ at the mouth of the input analog voltage AD conversion, P4, from P5 joint digital tube output.
Use AD single channel multiple conversion, acquisition P6.0 input analog voltage value (range: 0 ~ 3.3 V), converted to digital quantity.
To establish two-dimensional array and through the sequence look-up table method that acquisition back voltage value. Then through the digital tube display the current voltage value, show
And follow the input analog voltage changes. Because only two digital tube, the display voltage value accurate to decimal point, such as the current one
Input voltage of 2.37 V, 2.4 V is display. Available multimeter test showed that is correct or not.
使用AD单通道多次转换,采集P6.0输入的模拟电压值(变化范围:0~3.3V),转换为数字量。
建立二维数组和通过顺序查表的方法得出采集回来的电压值。然后通过数码管显示当前电压值,显
示跟随输入的模拟电压的变化。由于只有两位数码管,故显示电压值精确到小数点后一位,如当前
输入电压2.37V,则显示2.4V。可用万用表检测显示是否准确。 -Use AD single channel multiple conversion, acquisition P6.0 input analog voltage value (range: 0 ~ at the mouth of the input analog voltage AD conversion, P4, from P5 joint digital tube output.
Use AD single channel multiple conversion, acquisition P6.0 input analog voltage value (range: 0 ~ 3.3 V), converted to digital quantity.
To establish two-dimensional array and through the sequence look-up table method that acquisition back voltage value. Then through the digital tube display the current voltage value, show
And follow the input analog voltage changes. Because only two digital tube, the display voltage value accurate to decimal point, such as the current one
Input voltage of 2.37 V, 2.4 V is display. Available multimeter test showed that is correct or not.
(系统自动生成,下载前可以参看下载内容)