Hi James,

It looks like you're trying to use a 16F628, unfortunatley this PIC does not have an AD converter. It only have onboard comparators.

/Ingvar