GetGPIO: first implementation