best way to set pin high/low without using digitalWrite?