Follower line color


I bought this product and i want change the color of the follower line. By default follow the line black, but i want change to white. What i can do?

I searched in the library of ZumoReflectanceSensorArray.h, but i only founded this comment
" * \param whiteLine 0 to detect a dark line on a light surface; 1 to detect

  •                 a light line on a dark surface."

And i dont found this param. Any help?


The readLine() function is inherited by the ZumoReflectanceSensorArray library from the QTRSensors library. The function has an optional whiteLine parameter that can be used to detect a white line on a dark surface that can be called as follows:

The whiteLine parameter is the third parameter in this function and is ‘0’ for false or ‘1’ for true. You can learn more about how the readLine() function works by looking at the comments in the …\Arduino\libraries\ZumoReflectanceSensorArray\ZumoReflectanceSensorArray.h file (starting at line 329) or in the documentation for the QTRSensors library.


Thaaankss so much!!