#include #include "WAI16.h" int Buffer[2000]; main(void) { int DesireCount=2000; /* The count which We desire to transfer */ int NowCount; /* The count which is transfering now */ int ErrorCode; int i,j,c1,c2; float volt,min,max,min2,max2,err,rep; for(i=0; imax2) max2=volt; if (i==0) printf(" : volt[0]=%f",volt); if ((voltmax)) { err++; printf("\nmin=%f, max=%f,volt=%f",min,max,volt); break; } } delay(300); if (kbhit()!=0) {getch(); return;} } }