Download Print this page

Aaeon SBC-410 Manual page 73

Half-size 486 all-in-one cpu card with cache

Advertisement

}
mydelay();
run_time=run_time+1;
/* Display time elapsed */
gotoxy(45,11);printf(%2d.%1d sec",run_time/
10,run_time%10);
}
}
/* USER FUNCTION LIBRARY */ void mydelay(void) /*
Delay program: */ /* Delay 109.89ms (18.2Hz*2) */{
clock_t start,end;
start=clock();
end=start;
while((end-start)<2){
}
}
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
default
}
end=clock();
Appendix A Watchdog Timer Demo Program
: break;
65

Advertisement

loading