> Can someone help me with some delay code for a uP running at 20 MHz ? > I have some code for 4MHz, is it just a matter of scalling by 5 ? Hi. How long delay ? How often should this delay "run" ? Generaly speaking, use timers for delays, not code. Regards, Jan-Erik -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist