Within an interupt, I want to count pulses coming in on portB, basically to measure frequency. The ISR is already being called by TMR0 so every 255 clock cycles when it rolls over, its executed. Can I have both interupts going at the same time, so every time B0 gets a pulse, it drops in and increments a counter and returns. Then when the normal interupt is called, it checks the count value. Will this work ok? Any examples that someone has already coded? _________________________________________________________________ Internet access plans that fit your lifestyle -- join MSN. http://resourcecenter.msn.com/access/plans/default.asp -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body