ADC Help Please


Closed Thread
Results 1 to 15 of 15

Thread: ADC Help Please

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Yup, i had an answer from Charles that confirm a issue of those 16F88x serie. He suggest this work around
    Code:
            DEFINE ADC_BITS  8     ' ADCIN resolution  (Bits)
            DEFINE ADC_CLOCK 0     ' Work around that sets Vref bits in ADCON1
            DEFINE ADC_SAMPLEUS 50 ' ADC sampling time (uSec)
            ADCON0=ADCON0 | %11000000  ' Work around that sets ADCS in ADCON0
    i've tested it here, and it's working. So now, you have 2-3 different way to make it work.
    Last edited by mister_e; - 14th June 2007 at 19:14.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Stable Adc Reading Routine
    By gebillpap in forum General
    Replies: 27
    Last Post: - 13th May 2015, 02:18
  2. 10 bit ADC display on LCD using 16f873
    By pr2don in forum mel PIC BASIC
    Replies: 3
    Last Post: - 6th March 2010, 18:29
  3. Can't get ADC to loop
    By TravisM in forum mel PIC BASIC
    Replies: 2
    Last Post: - 11th October 2009, 15:33
  4. ADC value with 2 decimals on an LCD
    By Squibcakes in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd December 2005, 15:54
  5. 12F675 ADC 'Issues'
    By harrisondp in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 31st March 2005, 01:55

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