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.