Hello folks,

I hope it finds all of you very well.
Honestly I have been confused.

In brief as a quick question under Mecanique PicBasic Compiler Ver. 2.5 for achieving to maximum available speed on PIC18F4550 (48MHz), Are below herewith setting “enough” in my program? USB connection is not the desired goal, just to achieve to Maximum available speed in an ordinary program.
Code:
ASM
  __config  _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L
  __config  _CONFIG1H, _FOSC_HSPLL_HS_1H & _FCMEN_OFF_1H & _IESO_OFF_1H

…. Etc…

ENDASM

.
.
.
DEFINE OSC 20
.
.
.
And a 20MHz XTAL be connected to Pins:13 & 14

Am I right?

Thank you very much in advance for your always Kind Support.

Regards,

Andy

P.S. 18F4550.inc File has been already edited. By adding “ ; ”