> I can and did before, but it always seemed a bit messy. Apart from the ti= mer > you also need to take into account instructions time and such. Need 1uS > resolution. If you need that resolution you should probably look at a chip that has the= Configurable Logic Cell (CLC) available. There are also a number of applic= ation notes and tech bulletins about these. --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .