Hi,

I am having trouble trying to use this pic. I have version 2.33 of PBP. This is the code:

define OSC 20
define adc_bits 10
define adc_sampleus 50
ANSEL = 1 'channel 0 analog all others digital
ADCON0 = 129 'a/d control register setup
ADCON1 = 96 'fosc/64

ctrlv var porta.0

But i get an error when compiling at the ANSEL line.
Am i going to have to upgrade to the latest version of PBP to use this pic (hope not im skint) or am i doing somthing wrong?

I wish to use 20MHz osc, external MCLR, a/d on porta.0, all other pins digital.