Mode 0 (Default)
At IN1 on and IN2 off, the motor is triggered to rotate forward.
At IN1 on and IN2 on, the motor is triggered to rotate reverse.
At IN1 off, the motor stops.
Mode 1 (Optional)
At IN1 on and IN2 off, the motor is triggered to rotate forward.
At IN1 off and IN2 on, the motor is triggered to rotate reverse.
At both IN1 and IN2 on, the motor stops.