edited GpioPin to not give warnings about initialization order.