Added proper logging to GPIO2