16F676 A/D peoblem


Closed Thread
Results 1 to 2 of 2
  1. #1
    jplamson's Avatar
    jplamson Guest

    Default 16F676 A/D peoblem

    Using a PIC16F676 in the Lab-X4 and the sample program ADCIN1X4. Erything works fine using an external sigal on AN3 but I cannot get any other channel to work. Of course I reset register the ANSEL register as needed. Jeff
    Smoyer has offered several suggestions but with no success. Yes,
    I have read (and re-read several times) the Microchip Data Sheet but sure must be missing something.

    Would appreciate any help.

    John

  2. #2
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    long shots but ...

    1) what version of PBP are you using? Look in the m16F676.inc folder and make sure ANSEL equ 91h.

    2) Can you post your modified code for one of the other AN channels?

    Paul Borgmeier
    Salt Lake City, Utah
    USA

Similar Threads

  1. 12f675 A/d Miseries
    By MARAD75 in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 16th December 2008, 02:16
  2. 12F675 A/D and GPIO sleep interrupt
    By macinug in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 8th September 2008, 14:39
  3. Need advice on A/D
    By james in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 24th August 2007, 19:30
  4. A/D converter fails?
    By egberttheone in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 13th February 2006, 18:57
  5. 18F2525 A/D, Comparator and Vref modules
    By fbraun in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 20th May 2005, 23:17

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