Partial Digital PORTA?


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    USA - Arizona
    Posts
    156


    Did you find this post helpful? Yes | No

    Default

    Randy,

    From the datasheet I was able to gather the attached table. It looks from your statement that you are selecting A5 plus A3-A0 as analogs inputs (the whole port A), and E2,E1,E0 as digital inputs. It also looks like you can not have A2-A0 as analogs and A3 as digital.

    The closest thing you could have is A3,A1,A0 as analogs and A5,A2 as digital. This would read:

    ADCON1 = %10000100

    Hope this helps.
    Attached Images Attached Images  

Similar Threads

  1. PortA Doesn't Work
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 11
    Last Post: - 8th September 2015, 18:41
  2. Replies: 5
    Last Post: - 16th October 2009, 18:29
  3. 16F877a PORTA ADC and digital help
    By RFsolution in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th February 2008, 18:44
  4. PortA analog and digital IO
    By krohtech in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 30th November 2007, 02:25
  5. Can anyone help a beginner in a struggle?
    By douglasjam in forum mel PIC BASIC
    Replies: 1
    Last Post: - 5th May 2005, 23:29

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