> I have 50 seperate logic lines that switch in sequence from > # 1 to # 50 then reverse from # 50 to # 1 > at any one time only one line is in a low state and all > others are high state. what I need is an analog output > voltage generated from the pic in response to which switched > line is enabled. 50 resistors and a current source? ******************************************************************** Olin Lathrop, embedded systems consultant in Littleton Massachusetts (978) 742-9014, olin@embedinc.com, http://www.embedinc.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads