Arduino Infrared beam-break sensor

Note the on-board LED on the Arduino: