I am unable to read the GPIO pin value. I have set the direction correctly, I have even tried setting another GPIO pin HIGH and connecting it to the input GPIO pin, but the readPortbit and GetPinstate function still returns a zero.#GPIO lpc43sxx #GPIO read
Solved! Go to Solution.
Hi
I am using an LPC 43s67 evaluation board. I fixed the issue
The input buffer is disabled by default. So i enabled it using the scu config.
Thank you
Hi,
Could you please let me know which device, board, IDE are you using?
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi
I am using an LPC 43s67 evaluation board. I fixed the issue
The input buffer is disabled by default. So i enabled it using the scu config.
Thank you