http://www.piclist.com/../microchip/delays aka http://www.piclist.com/techref/default.asp?url=microchip/delays --- James Newton (PICList Admin #3) mailto:jamesnewton@piclist.com 1-619-652-0593 PIC/PICList FAQ: http://www.piclist.com or .org -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Sam Linder Sent: Thursday, September 07, 2000 09:03 To: PICLIST@MITVMA.MIT.EDU Subject: [PIC]: usec delay routine 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 -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! use mailto:listserv@mitvma.mit.edu?body=SET%20PICList%20DIGEST