First, download manual!
This PIC support max. 8MHz internal oscillator, so you can forget 4x PLL.
OSCCON, check "4.2 Oscillator Control"
Digital IO, check ANSEL "3.2.1 ANSEL REGISTER"
Pull-ups, check OPTION_REG "2.2.2.2 OPTION Register"
Comparators, check "8.0 COMPARATOR MODULE"
DEFINE OSC 8
This is best way to learn
BR,
-Gusse-
Bookmarks