Hello,
I am having an issue with multiple IR sensors. I'm talking about the ones that look like this:
I am building a robot where I need to check whether there is something in the way. I will have one sensor on each side, therefore having 4 sensors. How would I do that? Would I make a whole bunch of If statements or is there an simpler way?
Thanks,
Prem