Quote Originally Posted by pk7639 View Post
OPTION_REG.6=0 'this turns on the internal pull up resistors
You know this doesn't affect all GPIO pins...right?