tcrt5000 digital sensor array

can we use this digital sensor array for pid of line follower ?? if yes can you give me an example of pid code of line follower for digital sensor array...code can be for any pin config ....