Hello Jinx, > You may get better quiescent consumption by using CMOS > gates to supply power to the PIC. Each button sends a high > to a 4081 gate. The resulting high from the gate goes to the > PortB pin and also is diode-ORed with other gates to drive > a bypass transistor that supplies the PICs Vcc that could be an interesting solution. The tactile keys I'll use are double poles. I could put the pole A of each key in parallel with each other and use the keys as ON momentary switchers. The most strange thing would be how to make the key "latch ON" the power and the PIC "latch OFF". Well, something to think... Best regards, Brusque ----------------------------------------------------------------- Edson Brusque C.I.Tronics Lighting Designers Ltda Research and Development Blumenau - SC - Brazil Say NO to HTML mail www.citronics.com.br ----------------------------------------------------------------- -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu