10bit A/d input


Closed Thread
Results 1 to 9 of 9

Thread: 10bit A/d input

Hybrid View

  1. #1
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default Re: 10bit A/d input

    you really sure ???

    ADCON1 =%00101110 'Set PORTA analog and right justify result
    I' not ....

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default Re: 10bit A/d input

    Post editor somewhat " Rock and Roll " ... Heeeeellllp, Lester


    REGISTER 11-2: ADCON1 REGISTER (ADDRESS 9Fh)
    bit 7
    ADFM: A/D Result Format Select bit
    1 = Right justified. Six (6) Most Significant bits of ADRESH are read as ‘0’.
    0 = Left justified. Six (6) Least Significant bits of ADRESL are read as
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  3. #3
    Join Date
    Feb 2005
    Location
    Indiana
    Posts
    24


    Did you find this post helpful? Yes | No

    Default Re: 10bit A/d input

    Ace, thanks, I've been using a Microchip A/D addendum manual I downloaded years ago and I guess it sort of worked because I never noticed severe problems. (http://ww1.microchip.com/downloads/e...Doc/31023a.pdf)
    I'm going to play with the ADCON1 settings shown in the proper data sheet for the 16F877 this evening.
    JRudd

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