pic 16f887 port holding problems


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default Re: pic 16f887 port holding problems

    I assume you have pull-ups on the input pin.
    Charles Linquist

  2. #2
    Join Date
    Feb 2011
    Posts
    19


    Did you find this post helpful? Yes | No

    Default Re: pic 16f887 port holding problems

    yes, i have 10k pull ups on all of the pins

  3. #3
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default Re: pic 16f887 port holding problems

    Check all of your TRIS statements. It looks like you're using a lot of pins as inputs, but you have them setup as outputs.

    trisd=%11000000 ' this leaves D0 through D5 as outputs with only D6 and D7 as inputs.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  4. #4
    Join Date
    Feb 2011
    Posts
    19


    Did you find this post helpful? Yes | No

    Default Re: pic 16f887 port holding problems

    thank you forgot to check the simple part

Members who have read this thread : 0

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

Tags for this Thread

Posting Permissions

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