At 03:39 PM 6/24/2004 -0700, you wrote: >Hi, > >I'm in the process of drawing up the schematics of my next project, a >preamp. I'd like to be able to see the selected input on the front panel >and decided to use Multimec switches (http://www.mec.dk/billeder/8_619.jpg). > >Because the preamp will have a tape loop output, I need to be able to see >that as well on the front panel. I think bi-color leds (the ones with 2 >pins, not those with 3, since they won't fit the switches) are the best >for that. > >The problem is that I can't figure out how to connect those 8 bi-color >leds to a shift register. Is it possible to connect 8 bi-color leds to an >8-bit shift register and control all of them? I need to be able to turn >them all on independently, but there never won't be more than 1 green & 1 >red lighted (in case I use red/green bi-color ones of course). Is there >any kind of matrix-style connection possible for this or do I have to >resort to a 16-bit shift register? Note the fact that I need to light 1 >green & 1 red led at the same time, so usual matrix arangements won't work. Why don't you just use 5 PIC port pins? Best regards, Spehro Pefhany --"it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu