> Hi: > > Forgive an inexperienced PIC programmer for asking, but how do > you produce a > time delay in assembly? Does it depend on the clock oscillator? It if > does, I'm using the RC Oscillator-2MHz. Actually it depends on how long a delay you want and how accurate a delay you want. The easiest way is to simply loop a bunch of times, since the PIC executes instructions with set times (normal instructions at 1/2clk and branch/conditional at 1/4clk IIRC) then simply loop as many times as you need to get you're delay. TTYL -- 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