PIC18F26K80 A/D Converter


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2011
    Posts
    37

    Default PIC18F26K80 A/D Converter

    I think this would be the right place to ask this. I have a 18F26K80 that I'm trying to turn off the A/D on the A ports.

    I tried the following;
    ADCON0=$00 'switch the Analogue A/D pins to Digital I/O mode.
    ADCON1=7 'switch the Analogue A/D pins to Digital I/O mode.
    ADCON2=$00 .
    TRISA = $FF ' set port a to all inputs ' 28
    TRISB = $00 'set port b to all outputs ' 29
    TRISC = $FF 'set port c to all inputs ' 30

    However, the inputs on the A ports are still ignored. What am I doing wrong??
    Thanks

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,520


    Did you find this post helpful? Yes | No

    Default Re: PIC18F26K80 A/D Converter

    Hi,
    I've already tried to help you with this in the other thread where you posted the exact same question yesterday. Why not follow up on that?

    /Henrik.

  3. #3
    Join Date
    Jun 2011
    Posts
    37


    Did you find this post helpful? Yes | No

    Default Re: PIC18F26K80 A/D Converter

    Thank you Henrik. When I re-posted here I thought no one had responded to the other thread. I will try your suggestion.

Similar Threads

  1. USB to COM converter
    By iugmoh in forum USB
    Replies: 7
    Last Post: - 20th April 2008, 14:19
  2. 10-Bit D to A Converter
    By Atom058 in forum General
    Replies: 6
    Last Post: - 14th October 2006, 02:14
  3. A/D converter
    By rocky79 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 1st October 2005, 06:40
  4. hex to bin converter
    By darkman in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 27th April 2005, 14:41
  5. help D/A converter
    By matelda in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 8th September 2004, 17:25

Members who have read this thread : 2

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