Are you sure what ever your blocking the optical path with is blocking the light?
Several plastics are transparent to IR
Got a link to the endstops your trying to use? should the internal pullups be disabled?
Several plastics are transparent to IR
Got a link to the endstops your trying to use? should the internal pullups be disabled?