Problem Keeping PORTD.1 LOW


Closed Thread
Results 1 to 40 of 49

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    After posting that last one. I saw that you have it working.

    Not what I wanted to see.
    <br>
    DT

  2. #2


    Did you find this post helpful? Yes | No

    Lightbulb

    Hi Darrel

    Thank you very much for your help.

    You said that it's not the right way to connect the one pin of the pic directly to ground, what is the correct way of doing this.

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    The problem arises when you try to scan the keypad.

    Each ROW is scanned by placing a LOW signal on it, and testing the upper bits of PORTB for the Column results. &nbsp;But, if 1 of the rows ALWAYS has a LOW signal on it, there's no way to distinguish which row had the button press.

    So, your stuck between a Rock and a Hard place.

    Don't have that "correct way of doing this".
    <br>
    DT

  4. #4
    Join Date
    Aug 2005
    Posts
    57


    Did you find this post helpful? Yes | No

    Default

    Read the attached about keypad scanning.
    Attached Images Attached Images

  5. #5


    Did you find this post helpful? Yes | No

    Default

    Thank you arniepj, I will read it!

Similar Threads

  1. Old and beyond help ?
    By DavidFMarks in forum mel PIC BASIC Pro
    Replies: 46
    Last Post: - 11th December 2008, 16:23
  2. confused problem with interrupt in a working program
    By illuminator4 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 14th November 2008, 18:01
  3. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 18:27
  4. Problems with RC2 and RC3
    By Christopher4187 in forum General
    Replies: 11
    Last Post: - 29th May 2006, 18:19
  5. 4-line LCD Help - using PortA instead of B
    By Tom Gonser in forum mel PIC BASIC Pro
    Replies: 28
    Last Post: - 31st March 2005, 04:14

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