ADC problems with a 16F1826 chip


Results 1 to 3 of 3

Threaded View

  1. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: ADC problems with a 16F1826 chip

    Just change your define to all uppercase and no = sign..

    define ADC_BITS 10

    Without the correct define, PBP is still using 8-bits, and all you see are the top 2 bits when it's right justified (0-3).
    Last edited by Darrel Taylor; - 1st September 2012 at 17:02.
    DT

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