Hi dave
Thanks again :-)
For my 16f887 i have the following set for using the internal clock
So I use 8 MHZ not so ?Code:OSCCON = %01110001 'Int CLK 8MHz ANSEL = %00000000 'All digital OPTION_REG.7 = 0 'Weak pull-ups enabled DEFINE OSC 8 '8MHz
For the 184520 the following is set
So do I choose 4MHz or 32 MHz ?Code:'Ocsillator selections here OSCCON = $70 'Int CLK 8MHz OSCTUNE.6 = 1 'PLL 4x ADCON1= %00001111 '$0F = disable A/D converter cmcon = 7 INTCON2.7 = 0 'switch pull-ups ON 'END of oscillator selections 'timer/oscillator defines DEFINE OSC 32 '4x 8MHz 'END of timer/oscillator defines
thanks a million
Kind regards
Dennis




Bookmarks