AnsweredAssumed Answered

FRDM-K64 PIN Digital Read

Question asked by Antonio Angel on Oct 16, 2018
Latest reply on Oct 17, 2018 by Antonio Angel

Hi.

I have a simple question. How do I use the DigtialRead function from Arduino in my FRMD K64 in C?. I need to read either high or low (1 | 0). I was trying this with the GPIOx_PDIR function but this doesn't write you a Logic 0 when the read is 0.

Can anyone help me out?

Thank you very much. 

Outcomes