The problem with QTR 8a sensor's and motor shield

Hi everyone ,
I am trying to make line follower with arduino uno. So i am using qtr8a reflectence sensors but only six of them.My problem is , my motor shield is using a0 and a1 pins for sensing motor currents. Cause of that , i can’t use a0 and a1 analog inputs for reading sensors.What can i do with this problem ? Can i use digital I/O for this 2 sensor’s ?


I am not aware of a simple way to read analog values using the digital pins on the Arduino Uno. You might consider using our QTR-8RC Reflectance Sensor Array, which is intended for use with digital pins. If you do not have 8 free digital pins on the Uno, it is possible to use the Analog pins for digital I/O.