Hi dave

Thanks again :-)

For my 16f887 i have the following set for using the internal clock
Code:
OSCCON = %01110001          'Int CLK 8MHz
ANSEL = %00000000           'All digital
OPTION_REG.7 = 0            'Weak pull-ups enabled

DEFINE OSC 8                '8MHz
So I use 8 MHZ not so ?

For the 184520 the following is set
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
So do I choose 4MHz or 32 MHz ?

thanks a million

Kind regards
Dennis