Need help making IR sensors and whisker switches work

It would be easier to help you if you were to describe what happens and what you expect to happen. "My cod doesn't work" is not enough information.