Implement GPIO output API