I can control Port 4, pin 0 or 1 quite well but when it comes to Port 1, Pin 5, it always goes back to high.
I am enabling the pull up, setting the output enable and input enable before pulling it high or low through the supplied functions then looking at the outputs.
Do you know why I can't set Port 1 Pin 5 to be low continuously? When I set it low, and then sense the input, it immediately reads high.
This does not happen with the other port I tested Port 4 Pin 1 or 0.
Please help me understand how to set GPIO Port 1 Pin 5 low continuously.