Hi Donovan, Have you seen the examples that come with the compiler? There are both interrupt and non-interrupt versions, both work well and are easy to understand and incorporate into your program. Cheers, Bob > I need to simulate a serial port in software. I'm wondering if anyone has C > code for this already (I use Hi-Tech C, but I can easily translate) and > would be willing to share it with me. I've done software simulation of > Dallas-1 wire before and it was less than enjoyable getting it working. > Here's hoping. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads