reinaldo@IHUG.CO.NZ wrote: >sorry i was very vague >the headlight motor is a simple DC motor, and i'm going to >fit a resitor pot to the headlight to measure the angle of >the headlight, say this pot gives me 80 when the light is >down and 200 when fully open, the pot in the dash will give >0 to 255 ofcourse. > Just add resistors in series to the top and bottom of the dash pot. This will give you your reduced range when the A-D reads it. Either fixed resistors or preset pots will do the trick. Simple. David... -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.