first off this thread has been inactive for 9 years , is it even relevant to your problem ?


if pic18f4550 use 16Mhz crystal , how to set 'Config1L to get precise output timing ?
what output timing ?

what cpu clock are you aiming for ?
do you need usb clock ?

what version of pbp ?
setting config like this is ancient history
@ __CONFIG _CONFIG1L, _USBDIV_2_1L & _CPUDIV_OSC1_PLL2_1L & _PLLDIV_5_1L
why not start a new more relevant thread