> Can't help with the pc interface, but have a suggestion for a different > approach. I would hook the output pin to another pic, and use that pic > to process the information & then send it to the pc. I would especially recommend a PIC that has a CCP module for capturing the pulse (or maybe two if you need both edges) and a UART for sending the result to the PC. ******************************************************************** Olin Lathrop, embedded systems consultant in Littleton Massachusetts (978) 742-9014, olin@embedinc.com, http://www.embedinc.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.