Issue with infrared based circuit

Try clearing results.value in the if statement after the led blink.

It is a bad idea to have comments that do not match the code. How do you know which one is wrong?