Infrared sensor controlling blink speed and fading of LEDs

Here's a link to the code