Added Infrared usage to the functional_demo sketch