Successfully setting pin high when input is correct