I am an absolute beginner and I have been trying to run a wiper motor connected to the VMA03 and Arduino Uno by using the sample Code which can be downloaded.
To run only 1 motor I deleted ever line in the code which refers to motor B.
When loading the code to the Shield the motor starts for the indicated time in the first direction. Then the motor stops and starts sputtering and keeps this way. One led light flashe red and a bit green.
In order to find out the error we checked the motor and shortend the Code. But it is still not working. Here is the short Code. Can anyone help, please?
int pwm_a = 3; //PWM control for motor outputs 1 and 2
int dir_a = 2; //direction control for motor outputs 1 and 2
pinMode(pwm_a, OUTPUT); //Set control pins to be outputs
analogWrite(pwm_a, 255); //set motor to run at (100/255 = 39)% duty cycle (slow)