PORTA Logic - Be the processor


Closed Thread
Results 1 to 30 of 30

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Try ADCON1 = %00001111. Deduct 1 point from your score...;o}
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  2. #2


    Did you find this post helpful? Yes | No

    Default Many thanks

    Wow Bruce you are correct! But did I miss an errata sheet or is my trouble reading the table in the attached document
    ---------------------------------------------------------------------------
    In any event I am back in the running. I owe you for this. You can take five of my points and add to your score.

    Thanks again
    Attached Files Attached Files

  3. #3
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    I'm not sure what to tell you about the MS Word DOC, but here's what's in the 18F4420
    datasheet.
    Attached Images Attached Images  
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  4. #4


    Did you find this post helpful? Yes | No

    Default Data sheets for 18F442 (beware)

    I think I figured it out Bruce

    You provided data from Publication - DS39631E
    =============================
    PIC18F2420/2520/4420/4520
    Data Sheet
    28/40/44-Pin Enhanced Flash
    Microcontrollers with 10-Bit A/D
    and nanoWatt Technology
    =============================

    I was reading from publication - DS39564C (appears an earlier pub)
    =================================
    PIC18FXX2
    Data Sheet
    High-Performance, Enhanced Flash
    Microcontrollers with 10-Bit A/D
    =================================

    I don't remember how I got the one I was using, but it is WRONG
    concerning the ADCON1 register. I will be ceremonially disposing of the
    incorrect publication this evening, it is sure to be festive event.

    Once again "garbage in, garbage out".

    Thanks again

  5. #5
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    That one just covers the 18F242, 252, 442 and 452 series. Always download the one
    specific to the PIC you're using. Things change a good deal from one series to the next.

    Also check for & download any errata sheets that might be available. These can save you
    a LOT of time. Some series may have a problem not listed in the primary datasheet.

    The 18Fxx20 series have 5: http://www.microchip.com/wwwproducts...cName=en010270
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

Similar Threads

  1. Cant change target processor to compile
    By ozarkshermit in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th November 2009, 18:31
  2. Replies: 0
    Last Post: - 2nd February 2009, 23:23
  3. PIC's ports individual bits manipulation - how to?
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 38
    Last Post: - 27th February 2007, 22:34
  4. 16f876 PortA set-up trouble?
    By ronjodu in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th February 2006, 19:31
  5. Can anyone help a beginner in a struggle?
    By douglasjam in forum mel PIC BASIC
    Replies: 1
    Last Post: - 5th May 2005, 23:29

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