For Glen Wiley The simplest way is to put a 100K pot across the battery and drive the A/D from the wiper. You can then set the A/D voltage to anything you want. Sid - W4EKQ -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu