pullup and pulldown resistor help


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by studysession View Post
    I think I am following you but want to make sure. Could you expand with an example? THanks
    ok
    Code:
    If PortA.1 = 1 THEN ' if logic high = true use pulldown to 
                        'make untrue
    Do something here !
    else ' false this is where the pulldown does it's work.
    Code:
    If PortA.1 = 0 THEN ' If logic low is true use a pullup to
                        ' make false
     Do something here !Light an LED . . .
    else ' False, again this is where pullup does it's job
    Your code here . . . Say, turn off the LED
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  2. #2
    Join Date
    Jan 2009
    Posts
    14


    Did you find this post helpful? Yes | No

    Default

    Thanks - That's what I was thinking you were saying before but wanted to be sure. Greatly appreciate it.

    Keith

Similar Threads

  1. RB0 + Internal Pullup + Interrupt
    By Freman in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 10th August 2009, 11:11
  2. neebee wants to know pullup or pulldown?
    By lecoind in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 24th May 2009, 03:36

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