Explicitly set gpio direction to DIR_OUT.