Ir detectors delay

HI there, I have two ir detectors on my BOE-bot but they don't execute the right sketch when both are detecting an object. I guess it is because of the small delay there is between both detectors. How do I fix this?

If there is a delay, it is in your code.

Unofficial Arduino Forum Song on Youtube

1 Like

This is a common issue, not your problem but the form of the question.

Consider you know absolutely nothing about your project, the ONLY thing you know is what is written in your post. Imagine the route you would take to find a solution.