I am now trying to use the program to determine which pin number corresponds to which Pmod position, which was my original purpose for it. One button is sufficient for that.
What numbering scheme are you using for Pmods, so I can use the same terminology as you.