These sketches are not my own, im trying to figure out what they do. Am i correct with the above explanation? Once 5v is active the Step or Dir inputs 12v go to ground activating the steppers ?