That's just like Ashley's solution from yesterday hehe. Albeit with some different resistor values. You also only have a current limiting resistor on one of the PIC pins...does this seem sufficient or do you think there should be one on both pins? Josh -- A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. -Douglas Adams Roman Black wrote: > > 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