Thanks, that must have been where I saw it. So basically set internal pull-ups on the chip and then take RB6/7 to ground through the normally open switch?Originally Posted by Melanie
I've got other pins on portB turning on/off leds and I read on the datasheet that when portB is set as an output that the internal pull-ups are automatically turned off. If this is the case can I turn the pull-ups back on and still use half the pins as outputs and half as inputs?
Thanks
Bookmarks