On Thu, 3 Jan 2002, Simon-Thijs de Feber wrote: > Does any one have some C code for me that does delays. > preferably us, ms and no use of timers. I'd think that would be very compiler-specific, unless you just inline some assembly code. I use CCS; it has delay_us(), delay_ms() and dely_cycles() functions already. To write a C delay routine you would have to know exactly what the compiler would geneate, which could be very different from one compiler to the next. Dale -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics