Ray Gardiner wrote: > Without wishing to buy into the subtext discussion going on in the > background to this thread, my bet is you haven't configured the > adc control bits to tell it PortA,0 was digital I/O not analog. Good suggestion, Ray, but the bloke is using a '64, which has no analog inputs. Clyde -- Clyde Smith-Stubbs | HI-TECH Software, | Voice: +61 7 3354 2411 clyde@hitech.com.au | P.O. Box 103, Alderley, | Fax: +61 7 3354 2422 http://www.hitech.com.au | QLD, 4051, AUSTRALIA. | --------------------------------------------------------------------------- Download a FREE beta version of our new ANSI C compiler for the PIC microcontroller! Point your WWW browser at http://www.hitech.com.au/