Ken,,, I'd like a look at your code as well... I'm a system dba by day, and for some reason, the pic products have brought some of the fun of microcomputers back home. I havent' had this much fun since I got my altair8080 to do the first 8 bit add and halt! At 12:58 1/11/98 +0000, you wrote: >What I do is have fixed delay of about 875uS >and then I start measuring the input pulse, this gives me 5uS resolution >and a count of FF is about 2.035mS. If anyone wants my basic input and output routines >email me and I will send them out to you. > >Ken. 'Grif' N7IVS