I have done a DIY project with reference to
But when i switched on the system the motor starts spinning automatically and in idle condition. When i operate the joystick controllers all the motors run. But i could not able to control the speed of the motor.
In the below comments section, one person has added a coding with pwm control. I have tried that too. But it's not working. I am using 4 12V 300rpm motor, Arduino Uno,L298N motor driver and Flysky CT6B wireless unit.
Please suggest a solution.