Can you give me any example of line sensor code for line following robot?

My line follower robot have two wheel, one LCD driver, one motor. I'm newbie in learning arduino. Could somebody please help me?
Thank you

More details please.
How does it steer with only one motor?

Sorry, I mean two driver motors... I have arduino leonardo, one LCD+driver, two motors+driver, 6 photodiodes on the sensor.
Can you give me example of the line tracking code?

AWOL:
More details please.
How does it steer with only one motor?

You can show us your code, and we can help you with it.
Or you could search (Google, despite their shocking tax record, is your friend) for similar projects and adapt them, but giving you code is all but impossible, because we don't know anything about your robot.

Do NOT cross-post.