I am making a line follower using an ATmega8
Now the problem is the testing of line follower, there is a black line over a white surface and then after a while, there is a white line over a black surface....
The robot will make a start on any of the corners...so it is impossible to tell whether it is a white line or black line...and also in middle, the contrast will change...
I have to make the program in such a way that it will detect the change in contrast and continue its work
I thot this can be done in programming part..so posted here...