I have an application that uses the joystick ports on a pic to read values on 4 20K pots. apart form using digital pots, which i may very well have to use, how can i simulate the pot values with a PIC ( some PWM ?? ) ?? Accuracy is not THAT important, as i think the A/D on the joystick port isnt all that acurate anyway. I do however need decent linearity. The end result is a pic will receive a signal via rs485 that it must then "send" to the joystick ports. I dont have access to the original pc side program to change the way it works. Any ideas??? John -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body