Line Following Code Error

Hi all,

I think I spotted a minor mistake in the line following example:

// if the center line sensor is the only one reading a line
if ( (lineCenter > threshold) && (lineLeft < threshold) && (lineRight < threshold) )
{
sparki.moveRight(); // move forward
}

If I am not totally wrong, that needs to be a moveForward(), not moveRight().

Cheers
Sven

Thanks! We’ve already fixed this, and it should be in the next code update.