to figure out which GPIO to do, you have to program each GPIO in turn and then read SPD, and see when it changes. Painful but it doesn't take too long. ron