Quantcast
Channel: Software and microcontrollers - Pololu Forum
Viewing all articles
Browse latest Browse all 81

Changing the code to follow a WHITE line instead of Black in the LineFollower code?

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 81

Trending Articles