/*中值滤波算法*/ for (j=0;j ADC_Data[i+1] ) { temp = ADC_Data[i]; ADC_Data[i] = ADC_Data[i+1]; ADC_Data[i+1] = temp; } } } data1 = ADC_Data[N/2] ; /*************