Problem with 16F688 and using PORTA as digital inputs - I'm pulling my hair out!


Results 1 to 4 of 4

Threaded View

  1. #3
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default Re: Problem with 16F688 and using PORTA as digital inputs - I'm pulling my hair out!

    And set your port C to output instead of input for your LED. Unless those are the two bits that get cut off.

    Test:
    TRISC 111100

    No, the two MSB get cut off with the editor if not in "source mode" A/A icon.
    Might as well set your C port to all outputs, unless you have some inputs on it.
    TRISC %00000000
    Last edited by ScaleRobotics; - 14th June 2012 at 16:00.
    http://www.scalerobotics.com

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