Set the config to
Then you can use the internal 4 MHz osc and GP3 can be used for an input.Code:__config _INTRC_OSC_NOCLKOUT & _WDT_ON & _MCLRE_OFF & _CP_OFF
Then turn off the ADC
http://www.picbasic.co.uk/forum/showthread.php?t=561
Set the config to
Then you can use the internal 4 MHz osc and GP3 can be used for an input.Code:__config _INTRC_OSC_NOCLKOUT & _WDT_ON & _MCLRE_OFF & _CP_OFF
Then turn off the ADC
http://www.picbasic.co.uk/forum/showthread.php?t=561
Dave
Always wear safety glasses while programming.
Problem solved. Need to use the following code if not using MPASM assembler in PBP:
asm
device pic12F629, MCLR_OFF,INTRC_OSC_NOCLKOUT, wdt_off, pwrt_on,protect_off
endasm
Last edited by Pic2008; - 26th August 2008 at 07:52.
Bookmarks