Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4923

PIC18F4550 configuration bit settings

$
0
0
I am using PIC18F4550 with MPBALX IDE V2.26, Xc8 V1.32.
I have connected external 8Mhz crystal with 22pF load capacitors.
Below are configuration setting. I want system freq to run at 48Mhz & system clock also goes to USB
Are these settings ok?
Also code protection is on, so that code cannot be read back.

Code (Text):
  1. // #pragma config statements should precede project file includes.
  2. // Use project enums instead of #define for ON and OFF.
  3.  
  4. // CONFIG1L
  5. #pragma config PLLDIV = 1         // PLL...
PIC18F4550 configuration bit settings

Viewing all articles
Browse latest Browse all 4923

Trending Articles