> Doh... OK I see what you mean.. Writing it NOT in ASM might work out.. I > spent like 2 hours trying to tweak my delay code.. then decided to give > about 30 minutes to tweak the NEW delay code to it's current setup and > it's far more accurate than my ASM code was.. not to mention easier to > follow.. Good luck.. Hello Damon, try to substitute your line: delay(1,10); // delay 1/10 of a second (uses TMR0 interrupt) with: while (WR); // Wait writing complete Best regards, Brusque