Write an Arduino Program that detects a reflectivesurface using the line sensor array of a QTR-3RC (*Must be specificto this sensor! please this is important*)
Must include a function that when calledreturns..
0 (line to the left of the robot)
1 (line under the robot on the left side)
2 (line under the robot on the right side)
3 (line to the right of the robot)
Output the results to the serial port in 0.5 secondintervals
PLEASE USE CODE SPECIFIC TO QTR-3RCSENSOR!!!!!!