How to set up QTR-8A and 1A together on the Arduino

Hello,

I am making line following robot with counter, which stops at designated counted number which we input through the keypad(0-9).

I have completed the line following robot portion with arduino and motor shield and DC motors along with QTR-8A using 6 sensors.

Does anyone have any idea how to connect QTR-1A for counter and what changes should I make in my code?

Please help!!!

I have tried a lot but not getting anything.

thanks in advance.

-Dular