Test for WrongPinMode on pin.get()