Hello Everyone. I recently added code to a program compiled for a 16F76 and it wouldn't fit in the PIC. So I compiled it for a 18F2510 and the timing seems to be off. Certain sections of the code seem to run slower while other sections run a little too fast. Does anyone have any suggestions? I changed adcon1 = 7 to adcon1 = 15 for the 18F PIC. I also had to remove my @device line to compile without errors. I then set the config bits within MPLAB before programming. Thank you.
Bookmarks