On Monday 01 September 2003 08:48, Olin Lathrop scribbled: > You're making this way too complicated. Just turn on the internal pull= ups > when you want to read the switches and tie the other end of the switche= s > to ground. This even frees up RA5. (Where did you find such a hairbra= in > design in the first place?) Nope. I can't. The RB outputs here control the columns of 7-seg LED=20 displays, which is why they go to the MOSFET gates. If I just shorted a=20 switch between an RB output and ground, then the output will be forced lo= w=20 all the time when the switch is pressed. Cheers, -Neil. --- [This E-mail scanned for viruses] -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.