On Wed, Jan 28, 2009 at 7:32 PM, microsoftwarecontrol wrote: > This is really waste time. I red some one asking like: could you clearify if > it is about a pic in the earth or a pic in the Mar. Your question has already been answered numerous times. To be fair, you didn't provide us with enough information. You were very vague. 8 bit PICs use 4 clock cycles per instruction vs the 2 clock cycles per instruction on the 16 bit PICs - so there are many different ways to accomplish your goal. But to be explicit, here it is: If you're using an 8 bit PIC with a 14 bit core, use the internal oscillator set at 4 MHz (I think that's default) if you want EXACTLY 1 us delay. But if you tell us your application, there may be better ways to get this done without switching the clock source if you don't want to. Moving on... One "nop" instruction will delay exactly 1 us at this clock frequency. If you wish to use 8 MHz, two "nop" instructions will deay 1 us and so on. -- solarwind -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist