16F1828 HPWM and ADC


Results 1 to 20 of 20

Threaded View

  1. #18
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default Re: 16F1828 HPWM and ADC

    Hi, Midali

    I do not see much config lines for your CCP Modules ...

    Code:
    'APFCON0 = %10000000
    'APFCON1 = %00001010
    'APFCON1.3 = 1
    being commented out ... ( I did not check if correct )

    as AN6 is shared by the CCP outputs and your ADC input ...

    unfortunately, I do not have those 16F18xx chips here to verify.

    did you try with another ADC input ( not CCPx related ), AN10 or 11 i.e. ???

    Alain
    Last edited by Acetronics2; - 21st November 2015 at 09:20.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. ADC values above 4095 for 12 bit ADC
    By longpole001 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 1st February 2015, 22:24
  2. ADC problem on 18F46K22 device using all 28 ADC pins
    By JimAvanti in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 23rd February 2012, 20:22
  3. Replies: 3
    Last Post: - 23rd October 2011, 12:53
  4. Newbie HPWM / ADC question
    By Johan in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 25th June 2007, 12:52
  5. HPWM of the port of two HPWM
    By ja2rqk in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 25th April 2007, 15:05

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