
Originally Posted by
Plcguy
In that thought process, it appears option_reg.7 = 0 sets all 4 port B pull ups on an 16F88. Can one of those pins then be used as a serial output? I don't see where you can set individual pins.......
On a 16f690, I do this to get the weak pullups working...
Code:
option_reg.7=0 ' Enable WPUs by individual pin
WPUB = %11110000 'enable weak pullups on RB7, RB6, RB5 & RB4
It all works weally weakpullup-tastically (but disable any other PIC stuff that maybe sharing those ports...and make sure they're all set as inputs)
Bookmarks