David VanHorn wrote : > Have you verified that your delays are correct? Not > following the timing > specs would give you what your're seeing. Maybe. But the *major* problem is trying to set the bit number in the BCF/BSF instructions using a run-time variable. I'd focus on that first... Jan-Erik. > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist