Control motor movement using serial command M STEP DIR SPEED