Hello all, I am using arduino nano for my project and I try running motors with ln298. The problem is that the motors are not starting to run and I see the onboard led on the arduino flashing every second and clicking noise from the arduino.
The wiring is this: digital pins 2,3,4,5 are used for controling left forward, backward; right forward backward; vin is supplied with 9v and on the same breadboard rail I use ln vin too; gnd is from battery, arduino gnd and ln298 gnd are on the same breadboard rail as the battery supplied gnd.
I am providing a picture of the wiring:
And my code: //#include <SoftwareSerial.h>//pins for left motorint outputPinSix = 2;//sig - Pastebin.com