Hard to answer without a schematic.
How is your power supply, enough current? Do other devices turn on during this time and take up too much current?
EDIT: Blink a LED in this part just to be sure nothing is going wrong.
Code:MAIN: ADCON0.2=1 GO: IF ADCON0.2=1 THEN GO
Bookmarks