ivp wrote: >> Just tested my code and all seems ok so far >> =20 > > David, > > initially complementing the counter and using incfsz would > save a few cycles per decrement within the ISR and a lot > generally, if that's important > =20 Thanks for that. I'll see if changing to incfsz will affect anything else. David... --=20 ___________________________________________ David Duffy Audio Visual Devices P/L Unit 8, 10 Hook St, Capalaba 4157 Australia Ph: +61 7 38235717 Fax: +61 7 38234717 Our Web Site: www.audiovisualdevices.com.au ___________________________________________ --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .