直接开启5个通道就行
adc1_2=Get_Adc_Average(ADC_Channel_2,20);
LCD_ShowxNum(140,110,adc1_2,4,16,0);
adc1_4=Get_Adc_Average(ADC_Channel_4,20);
LCD_ShowxNum(140,130,adc1_4,4,16,0);
adc1_5=Get_Adc_Average(ADC_Channel_5,20);
LCD_ShowxNum(140,150,adc1_5,4,16,0);
adc1_6=Get_Adc_Average(ADC_Channel_6,20);
LCD_ShowxNum(140,170,adc1_6,4,16,0);
adc1_7=Get_Adc_Average(ADC_Channel_7,20);
LCD_ShowxNum(140,190,adc1_7,4,16,0);
一周热门 更多>