Well, first of all, you're not going to get 0 with anything simple, but for a PIC input, you don't need +5 either. Wouldn't a simple transistor do? --McD ----- Original Message ----- From: "Stephen D. Barnes" Subject: [PIC:]Need solid +5VDC level for input to PIC > I am working with an optical encoder which outputs a voltage > between +0.35VDC and +1VDC. What is the easiest low > component count method for getting a clean 0V to 5V pulse > from this to use as an input to the PIC? -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body