Enabling weak internal pull up resistors on port B


Results 1 to 9 of 9

Threaded View

  1. #3
    Join Date
    Nov 2007
    Location
    West Covina, CA
    Posts
    219


    Did you find this post helpful? Yes | No

    Default

    Setting your configs at the top of your program will ensure that the internal pull ups are always enabled from the beginning even when power is interrupted because that's where it will start anyways.
    I suppose if you enable the internal pull ups in a subroutine that is called after certain conditions, then yes, you can lose that setup until that condition is called again after a power reset.
    The bit has to be cleared per data sheet so: OPTION_REG.7=0
    Last edited by LinkMTech; - 27th July 2010 at 17:27. Reason: Command entry
    Louie

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts