Line following Robot

So basically I am trying to create line following robot. Im stuck because I am trying to implement a H-Bridge circuit that allows the robot to go forward or backward with a push of a button.

There is my schematic and code.

There is my schematic and code.

That code will NOT compile. Post your code PROPERLY.

Some clues as to what your problem is would not be amiss.

How are you sensing the line?

I don’t see anything that could possibly be an H-bridge or motor driver in that image.

"So basically I am trying to create line following robot."

Google is probably your friend to help find successful projects you can copy.