Set up your timer to generate an interrupt every 250 microseconds. In your ISR create a counter (multi byte) and increment it each time the ISR is called. Preload the counter to give the required number of 250 microsecond counts to overflow. When the counter overflows set a flag, or do the routine you were waiting for. At 12:31 PM 9/29/97 -0700, you wrote: >Can anyone please point me to a FAQ or home >page where I might be able to get code for 1 >second + delay routines by using the TMR0 >register in a C84. > >Ta >_______________________________________ >Ken Parkyn email: >K.Parkyn@sct.gu.edu.au >Office of Technical Services, Electronics >Workshop >GRIFFITH UNIVERSITY Nathan Qld.4111 >Australia >P.O.Box 185 Ph:(07)3875 7289 >Fax:(07)38757151 >________________________________________ > > Larry G. Nelson Sr. L.Nelson@ieee.org http://www.ultranet.com/~nr