hi Sayzer;
looking at your really cool sample code i think instead of
"PotPin VAR PORTB.0"
should be
"PotPin VAR PORTA.0"
because as PIC's datasheet says, analog inputs are only in PORTA, and also you configured PORTA as inputs and PORTB as outputs.
anyway i found that your POT & CCPR1L line is amazing !
Bookmarks