Hi. I am using a PIC16F628 and PicBacic Pro compiler. I am trying to read a 0-5V signal on an port.a pin using the built in Analog to Digital converter to read the position on an analog joystick.. I am confused how to use the ADCIN command and it's associated commands (TRISA, ADCON0 or ADCON1?) Does anybody out there have experience with this. Some sample code would be very helpful. Thanks in advance! -Dan _______________________________________________ http://www.piclist.com View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist