good relay / lamp drivers are available from http://www.allegromicro.com/ i think the part number i use is 5832 uses clock, data, and latch lines to pic and this device has 32 outputs, there are also versions the are 8 output. michael -----Original Message----- From: Ed Arnold To: PICLIST@MITVMA.MIT.EDU Date: Thursday, April 02, 1998 7:34 AM Subject: Out of I/O Lines >I am working on a project which uses all of the i/o pins on a 16F84. >But I want to add some user indicators to show when operations are being >carried out. I chose some momentary switches with internal lamps. I >have already done the math with these lamps and I think it's safe to use >a standard 2N2222 setup. My problem lies with available I/O lines. I >have none. I want to use the same I/O line that the switch is connected >to, since it will not be needed during this time frame. But I am not >sure if this will work. I have an idea of what the schematic *might* >should look like, but I am not sure. I really don't wish to smoke >anything. Can anyone lend me a hand with schematic ideas an even some >code examples. > >Thanks >Ed Arnold >hilander@bellsouth.net >