Page 1 of 1

PIC24FJ256GA406 Port F not work Digital Input

Posted: Thu Oct 07, 2021 6:34 am
by seokgi
Port F does not work in PIC24FJ256GA406. Please review.

Re: PIC24FJ256GA406 Port F not work Digital Input

Posted: Thu Oct 07, 2021 8:35 am
by medelec35
Hi, seokgi.
As a test, at the very top of main, can you add a C code block with

Code: Select all

ANSF=0x00;
please.
Does port A work?

Re: PIC24FJ256GA406 Port F not work Digital Input

Posted: Thu Oct 07, 2021 11:18 am
by seokgi
I will try tomorrow morning.

Thank you

Re: PIC24FJ256GA406 Port F not work Digital Input

Posted: Fri Oct 08, 2021 7:05 am
by seokgi
That's OK!

Thank you.

Re: PIC24FJ256GA406 Port F not work Digital Input

Posted: Fri Oct 08, 2021 7:45 am
by medelec35
Thanks for the good spot and for updating us on the results.
Does port A work as digital OK?

Re: PIC24FJ256GA406 Port F not work Digital Input

Posted: Fri Oct 08, 2021 7:38 pm
by seokgi
PIC24FJ256GA406 does not have A Port.

Re: PIC24FJ256GA406 Port F not work Digital Input

Posted: Fri Oct 08, 2021 8:43 pm
by medelec35
Thanks for that.
Yes I can see there is only port B to G.