Kerzer Computers wrote: > [snip] > > What happens is that the pullup does not seem to work with the > second code section added. Using the timer interupt was an > addition. .... I can't get it to work together and I don't know > why. Please help Gordon: I suspect that somewhere in your code, you're trying to modify TMR0 while the RP0 bit is set. When you do that, of course, the TMR0 register isn't affected at all; instead, the OPTION register is modified. Search through your code for writes to TMR0 and make sure that the RP0 bit is clear before each of them. -Andy === Andrew Warren - fastfwd@ix.netcom.com === Fast Forward Engineering - Vista, California === === Custodian of the PICLIST Fund -- For more info, see: === http://www.geocities.com/SiliconValley/2499/fund.html