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 " !!!
*****************************************
Bookmarks