Question about Option_Reg


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default

    Only bit 7 of OPTION_REG control the weak pullup on portB and only on portB.

    When :

    OPTION_REG.7 = 0 the weak pullup are set

    OPTION_REG.7 = 1 the weak pullup are removed

    Naturally the pullup apply only if portB is an input, otherwise if is set as an OUTPUT, you don't need any pullup.

    If you need a pulldown situation, on portB, then you set OPTION_REG.7 = 1 and you connect external resistors from pins to ground.

    Al.
    All progress began with an idea

  2. #2


    Did you find this post helpful? Yes | No

    Question

    Thanks Aratti......But is it a reliable way to do it? On one side it's great that I save space on my PCB. Has any of your projects caused any problems or unreliable operation due to internal PULL up or Pull down?
    ___________________
    WHY things get boring when they work just fine?

Similar Threads

  1. ADCIN question
    By Greg McFadden in forum General
    Replies: 4
    Last Post: - 16th September 2008, 02:53
  2. AN Question for "word" variable read The serial port
    By redfoen in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 14th December 2007, 17:39
  3. Remote PIC input question
    By Adrian in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 1st September 2007, 15:44
  4. Question for a math guru
    By Christopher4187 in forum General
    Replies: 3
    Last Post: - 22nd November 2006, 09:45
  5. Please answer my first question
    By John_001 in forum Off Topic
    Replies: 1
    Last Post: - 15th September 2006, 06:49

Members who have read this thread : 0

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