Question: 4. Write an Arduino program that detects a reflective surface using the line sensor array. (see https://www.pololu.com/docs/0J19/3) a. Must include a function that when called
4. Write an Arduino program that detects a reflective surface using the line sensor array. (see https://www.pololu.com/docs/0J19/3)
a. Must include a function that when called returns
i. 0 (line to the left of the robot)
ii. 1 (line under the robot on the left side)
iii. 2 (line under the robot on the right side)
iiii. 3 (line to the right of the robot)
b. Output the result to the serial port in 0.5second intervals
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
