Go here for example code and it may also answer your question.
http://www.rentron.com/PicBasic1.htm
Then scroll to:
Never had any problems with more than one myself.A/D & Using The 8-Pin PIC™ Series
bullet
Click HERE for: How to build a 4-channel A/D converter using the PIC12C671.
bullet
Click HERE for: Using the 8-Pin PIC12C671 A/D Converter.
bullet
Click HERE for: Using the 8-Pin PIC12C671 with PicBasic.
bullet
Click HERE for: Using the PIC16F877 A/D Converter. This example displays 3-channels of analog input on an LCD display.
Bookmarks