QTR8A does not work properly

It reads like in a certain order. But it gives random numbers sometimes. I mean when ı hold it to white and when all of them 0 sometimes 2 or more sensors give some random numbers. And no they change all the time, ı mean the sensors who give random numbers. Or when they are on black they do the same. Sometimes just the numbers they all give is just so irrelevant. As ı am making a line following robot with PID control it is quite important for me the accuracy of sensors. What can ı do? I upload the code that is in the library of pololu to test sensors.

Hello.

Could you post an example of the output you get when using the QTRARawValuesExample.ino example from our QTR library for Ardunio? Also, could you post some pictures of your setup that show all of your connections, as well as some close-up pictures of both sides of your QTR sensor array board?

Brandon