Hello,
I am facing a problem when using one of AIO pins as a digital input.
In particular, have a dip-switch signal connected to GPIO225.
The problem is that I always read the same value stuck at 1, despite I try to switch the input signal on and off.
To configure the AIO pin as GPIO I use the following instruction:
GPIO_setAnalogMode(225, GPIO_ANALOG_DISABLED);
I have the same problem also with other AIO pins.
What am I doing wrong?
Thank you,
Carlo