GPIO input is a much more difficult problem than output from the point of view of measurement and verification. For output you can see the change in the signal on a logic analyzer and know the exact ...