PORTC bits not 'latching' on 16F610


Closed Thread
Results 1 to 3 of 3

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Place ANSEL = 0 in the top section to disable A/D.

    Analog pins always read as 0, and the HIGH/LOW commands cause the whole port to be read, bits flipped, and the whole value being placed back on the port, so previous pins always get returned to 0.
    Regards,

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

  2. #2


    Did you find this post helpful? Yes | No

    Default

    That works, thank you

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