Im trying to change the ‘LineFollower’ code in Arduino UNO for the Zumo Shield Robot v1.2.
I tried changing reflectanceSensors.readLine(sensors);
to reflectanceSensors.readLine(lineSensorValues, QTR_EMITTERS_ON, 1);
But it shows an error as shown below:
‘lineSensorValues’ was not declared in this scope.
How do I correct this error?
2 posts - 2 participants