Changed for wave, full step and half step driver