Actually, on the 12F683 I use the following code and it defaults to 4MHZ
DEFINE OSCCON_1K 1
@ DEVICE MCLR_ON, INTRC_OSC_NOCLKOUT, WDT_ON, BOD_OFF, PWRT_ON, PROTECT_ON
On the 16F819 & 16F88 I use this, otherwise it defaults to the slowest speed (I think 32KHZ)
OSCCON = $60 'set int osc to 4mhz
Bookmarks