A/D conversion with PIC18F67J50


Results 1 to 10 of 10

Threaded View

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


    Did you find this post helpful? Yes | No

    Default

    Thanks mister_e ! I have flipped to page 299 to 302 so many times but never noticed the "D" to "N" change. Doh!

    Do you think it is edited out because it is a shared address, only distinguished by the address share bit ADSHR in the WDTCON register?

    Currently I have to:
    @ bsf WDTCON,ADSHR 'flag address share bit
    ADCON0 = %11111000 ' channels with a 0 is analog input, all others digital
    @ bcf WDTCON,ADSHR
    (or should I say I think? I have to....)

    to set the aNcon0 register

    (Despite all my mistakes, I am now getting valid conversion results, as of post 4)
    Last edited by ScaleRobotics; - 6th May 2009 at 23:34.
    http://www.scalerobotics.com

Similar Threads

  1. Fast / low resolution A/D conversion
    By AndrewC in forum General
    Replies: 7
    Last Post: - 7th April 2009, 13:18
  2. A/D conversion problem in 18F2520, 2523, 2550 etc.
    By selimkara in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 10th March 2008, 17:26
  3. A/D conversion problem on 18F4431
    By ttease in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 11th April 2007, 00:03
  4. A/D converter fails?
    By egberttheone in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 13th February 2006, 19:57
  5. Strange A/D conversion...
    By Christos_K in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th June 2005, 02:35

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