采集AIN0和AIN1的信号,通过可调电阻,使输入的模拟信号发生改变,来进行A/D转换。为保证数据的准确性,通常采集10次以上,在求平均值。A/D转换器采集AI...
代码说明:
采集AIN0和AIN1的信号,通过可调电阻,使输入的模拟信号发生改变,来进行A/D转换。为保证数据的准确性,通常采集10次以上,在求平均值。A/D转换器采集AIN0和AIN1的信号,并显示出来。-AIN1 acquisition and AIN0 signal, through an adjustable resistor, so that the analog signal input to change, to carry out A/D conversion. In order to ensure the accuracy of the data is usually collected 10 times more than the average in the order. A/D converter and acquisition AIN0 signals AIN1 and displayed.
下载说明:请别用迅雷下载,失败请重下,重下不扣分!