> I can't use a MUX because the pins can be > input/output type. analog mux? you can use a single header or switch to isolate the LEDs, same for the switches if you include a diode for each switch. Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu