I need to write a delay routine in C for a 80C251 . The delay has got to be about 30 seconds . Any ideas welcomed.
In my timerIsr(), the count10ms function var. should be incremented before leaving the ISR and modulo'd with 100, thus allowing it to be a U8. Sorry. Also, for bonus points, in a real-time system why doesn't it help to do the 1s check inside the 100ms timing region? Why would this be desireable in a non-real-time system? - Mark