Weak Pull-ups


Closed Thread
Results 1 to 3 of 3

Thread: Weak Pull-ups

  1. #1
    Join Date
    Feb 2006
    Location
    Ohio
    Posts
    29

    Default Weak Pull-ups

    Hello All,

    I want to enable the weak pull-up resistors on PORTB for an 18F452 micro. After reading over the data sheet, it looks like to turn the weak pull-ups off you use INTCON.2 = 7. I cannot find what command to use to turn them on. What command is used to turn them on?

    Thanks,
    Mark

  2. #2
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    datasheet - section 8.1

    INTCON2.7 = 0 ' weak pullups on
    or
    INTCON2.7 = 1 ' weak pullups off

    Paul Borgmeier
    Salt Lake City, Utah
    USA
    Last edited by paul borgmeier; - 12th June 2006 at 19:43.

  3. #3
    Join Date
    Feb 2006
    Location
    Ohio
    Posts
    29


    Did you find this post helpful? Yes | No

    Default

    Thanks Paul,

    I guess I didn't understand how to read it. I think I do now.

    Mark

Similar Threads

  1. Pull Up enabled and PWM question
    By financecatalyst in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th September 2009, 08:21
  2. Weak pull Up 12F629
    By Lionheart in forum General
    Replies: 1
    Last Post: - 9th December 2008, 21:07
  3. UPS serial protocol
    By sougata in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 5th November 2006, 02:49
  4. 16f684 Porta.2 Instability
    By JDM160 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 5th November 2006, 02:38
  5. Counting better ?
    By Franko in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 25th August 2005, 01:27

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