Does anyone have a simple, yet accurate software usec delay routine? I'm running 4mhz PIC16F877 and want to be able to generate a call to SoftUsecDelay(NumberOfMicrosecondsToDelay). I've looked at some delay routines (such as PICLOOPS) but they aren't accurate down to the usec level and don't seem to allow for a call containing the desired number of microseconds. Any suggestions out there? -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! use mailto:listserv@mitvma.mit.edu?body=SET%20PICList%20DIGEST