This code is for programming arduino to make a line following robot using L298n motor driver
Connection
In1 = 7; Connect In7 pin of motor driver with pin 7 of Arduino In2 = 8; Connect In8 pin of motor driver with pin 8 of Arduino In3 = 4; Connect In4 pin of motor driver with pin 4 of Arduino In4 = 3; Connect In3 pin of motor driver with pin 3 of Arduino ENA = 5; Connect Ena pin of motor driver with pin 5 of Arduino ENB = 6; Connect En2 pin of motor driver with pin 6 of Arduino