2020-03-09, 11:17 AM
Dear Sean,
Despite your good advice, my engine is still stopped.
In your last message, you advise me to use pin2 for ina, pin3 for inb, pin9 for PWM and pin 10 for 'enable', but it turns out that my l298N module only has 3 inputs: In1 , In2 and 'enable'; it is by this pin 'enable that the pwm must be sent. So I tried to connect it to the pin9, then to the pin10, but without success.
I added a line at the start of the setup () of 'motor.ino' to be sure of the pwm_style:
pwm_style = 2;
But still nothing and the engine does not react
An idea?
Thanks again for your help
cordially
Kinefou
Despite your good advice, my engine is still stopped.
In your last message, you advise me to use pin2 for ina, pin3 for inb, pin9 for PWM and pin 10 for 'enable', but it turns out that my l298N module only has 3 inputs: In1 , In2 and 'enable'; it is by this pin 'enable that the pwm must be sent. So I tried to connect it to the pin9, then to the pin10, but without success.
I added a line at the start of the setup () of 'motor.ino' to be sure of the pwm_style:
pwm_style = 2;
But still nothing and the engine does not react
An idea?
Thanks again for your help
cordially
Kinefou