Simon, I don't have C code to do that, but if your compiler allows assembly inlining, try this: http://www.piclist.com/cgi-bin/delay.exe for fixed delay generation (by the way, recently improved and now supporting SX chips), or routines for variable delays, including cycle-exact versions, at: http://www.piclist.com/techref/microchip/delays.htm Hope it helps, Nikolai Thursday, January 03, 2002, 10:56:52 AM, Simon-Thijs de Feber wrote: > Hello All, > Does any one have some C code for me that does delays. > preferably us, ms and no use of timers. > grtz > Simon > __________________________________________________ > Do You Yahoo!? > Everything you'll ever need on one web page > from News and Sport to Email and Music Charts > http://uk.my.yahoo.com > -- > 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 -- 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