!8F87K22

For general Flowcode discussion that does not belong in the other sections.
Post Reply
Roy_Johnston
Posts: 15
http://meble-kuchenne.info.pl
Joined: Sun Apr 30, 2023 4:56 am

!8F87K22

Post by Roy_Johnston »

this component has 10 bit A/D.
when I use get integer it only returns 0 - 255.
it should return 0 - 1024.
what am i doing wrong.

Roy_Johnston
Posts: 15
Joined: Sun Apr 30, 2023 4:56 am

Re: !8F87K22

Post by Roy_Johnston »

sorry 18F8722

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

Flowcode v10 Re: !8F87K22

Post by medelec35 »

Hi Roy.
I have checked code generation for PIC8722 and it looks correct for 10bit.
Can you post your .fcfx project file and .c file, please.
Martin

Roy_Johnston
Posts: 15
Joined: Sun Apr 30, 2023 4:56 am

Re: !8F87K22

Post by Roy_Johnston »

Thanks
i found my mistake , all is OK
bad programming

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

Re: !8F87K22

Post by medelec35 »

No problem,
Thanks for letting us know.
Martin

Post Reply