1. Vref measures the voltage between Gnd and the middle terminal of the potentiometer.
2. Be sure not to connect the motor when measuring voltage, otherwise the driver may be easily burned.
3. When measuring voltage, the power supply should be turned on, not just connected to the USB power supply.
4. Please pay special attention to the direction and do not insert it in reverse