> when the delay between on off was set > 10ms the leds took 2.3sec 2300 mS / 10 mS ~~~=3D 256 Delay MAY be out by a factor of 256, indicating that there is possibly a prescaler in the clock that is not being accounted for. Russell --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .