PIC16f1824 ADC set to12 bin should be 10 bit in FG9

For general Flowcode discussion that does not belong in the other sections.
Post Reply
baz_w
Posts: 15
http://meble-kuchenne.info.pl
Joined: Thu Dec 23, 2021 11:26 am

PIC16f1824 ADC set to12 bin should be 10 bit in FG9

Post by baz_w »

Hi, How do I change the bit depth of the ADC in a PIC16F1824 to the 10 bit that it is, in FC9 it is set to 12 bit

medelec35
Matrix Staff
Posts: 2086
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 644 times
Been thanked: 701 times

Re: PIC16f1824 ADC set to12 bin should be 10 bit in FG9

Post by medelec35 »

Hello.
If you look at the ADC component properties for Bit Depth you should see it's set to 10bit.
I have also check with the ADC PIC CAL and fcd and it looks correct for 10bit.
Can you attach your fcf project and .c files and I will take a look.
Are you referring to simulation, on embedded or both?
Martin

baz_w
Posts: 15
Joined: Thu Dec 23, 2021 11:26 am

Re: PIC16f1824 ADC set to12 bin should be 10 bit in FG9

Post by baz_w »

Hi Files Attached
Thanks
Attachments
kNOCK1 3_3_2025.fcfx
(20.45 KiB) Downloaded 28 times
kNOCK1 3_3_2025.c
(49.81 KiB) Downloaded 24 times

Post Reply