Hello,
I currently using a 12F683 at 8mhz internal osc, with this code below and it's working fine no problem at all.
#CONFIG
; __config _INTRC_OSC_NOCLKOUT & _WDTE_ON & _PWRTE_ON & _MCLRE_OFF & _BOD_OFF & _CP_ON & _CPD_OFF
#ENDCONFIG
OSCCON = $70 ; 8mhz
This is the config set from meConfig setup program:
#CONFIG
__config _INTOSC & _WDT_ON & _PWRTE_OFF & _MCLRE_OFF & _CP_OFF & _CPD_OFF & _BOD_ON & _IESO_ON & _FCMEN_ON
#ENDCONFIG
Now I need to use the same 12F683 chip with an 16mhz and/or 20mhz external crystal,
What do I need to change to make it work at 16 or 20mhz external crystal, please provide both config 16 and 20mhz crystal.
Thank's to reply.
Bookmarks