Line tracking using one sensor.
I'm newbie in RobotC programming. I think people with sufficient experience can write this program in a few minutes.
I have a task: to write a program for movement on a black line with only one sensor.
If somebody already made such program, I would be grateful if you showed your code.
Or if somebody can write it for me, it will be nice too
Thank you in advance!