Infrared Sensors~Code to make them work?

Thank you for the link, it is extremely helpful!