Initialize direction state for 3-pin motors