I had a think about it and this only took me about 30 seconds (1st doodle). :o) Solution: (3 resistors, no parts in remote) +5v -------*---------------- | ------, | Bi-colour LED | 220 | A *------R---|-----------------------------, | | 1 | | | ,--*--, PIC | | | | | R 33k green - v red | | 2 ^ - B *----------*-----------------------, | | | | '--*--' | ,--R----------------, | | ------' | 3k3 3 | '-----* | | | | | | | | Switch gnd | | '--------' A high, B low = RED A low, B high = GREEN (both inputs) B reads switch Josh Koffman wrote: > > Hi Roman. Actually, it's to get two colours and one switch on only three > wires. My goal is to remote mount these, and three wires is all I'd like > to use. As well, I'd like to keep the remote unit as low parts as > possible as I'd like to try and squeeze it in the shell of a connector. > > > > > > (-|>-)bi colour LED _=_ Switch > > > ,--( )--,------------o o--, > > > | (-<|-) | | > > > | | | > > > | | | > > > | | | > > > O O O > > > 1 2 3 > > > > > > 1= PIC Output > > > 2= +2.5 Volt > > > 3= PIC Input -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu