Hi everyone, i've just begin to study Arduino for a week, and this is my first project. But i'm having trouble with the code. Could someone tell me where did i go wrong please? Any help would be appreciated.
P.S. Thank you for spending time to read my post
Oh and my problem is 'darkLineFollower' was not declared in this scope ?
If your problem pertains to the scope, then you need to define 'darklineFollower' within your function (or void) or as a global variable (at the top). Also, you should insert your code using the insert code feature at the top.
But the original code that i get didn't define 'darklineFollower' either and the Arduino 1.8.7 still compile succesfully without any error message?
I haven't changed anything except adding a new #define linesen5 and changing some functions for it?
P.S. Thank you for your quick reply