Hi,

17Cxxx, 18Cxxx, 18Fxxx are not supported by PicBasic because of 16-bit core.
For those chips you will need PicBasic Pro.

With PicBasic use a 16F876(A) or a 16F877(A).

The Analog-to-Digital (A/D) Converter module has five
inputs for the 28-pin devices (16F876) and eight for the 40/44-pin
devices. (16F877).

Best regards,

Luciano