BINGO. You won't need a PIC guru
You're using the internal oscillator, but you're not writing to OSCCON to configure it for the
default 4MHz PBP will assume
Drop OSCCON = %01100000 in there, and I'll bet it starts working just as expected. Check
out the default value of OSCCON at power-up.
Its default setting is for 1MHz. Problem solved. Even without a PIC guru..;o}
Bookmarks