Quote Originally Posted by Glenn View Post

Just an example of working configbits for internal oscillator that works on 20MHz would be great, then I could try things after that, but now I cant even get the damned thing to run..
Section 2.6 datasheet.
section 2.64 " "
32 mhz is your speed limit using PLL and internal osc.
Set it up in OSCCON register