I am making a line follower using Arduino Uno R3.I had uploaded the program once,but the car wasn't working well.So i made some changes to the code and re-uploaded it.It got uploaded without errors.But when i connected the battery i got nothing but just the blinking of led on pin 13.(It blinks rapidly then stops this continues indefinitely)
I have tried restarting the computer but it didn't help.I have also reinstalled the drivers but same,it didn't help.
I have uploaded other programs like BLINK and they do work! :o
I am powering the arduino by using the Vin pin using a 9v battery.The same battery powers l298n board.
If I power the arduino from usb and let the 9v battery power the l298n then the arduino works fine.