turn on the PinMode of GPIO