Two-phase stepper motor subdivision driver source code STM32F103VCT6