From the looks of it, might be one leg of an LED attached to ground, and the other leg close to the center rail (or connected to a wire going to the arm of a microswitch) where it can be momentarily pressed down by wheel flanges or pickup rollers, thus sending a brief burst of current to each LED.
---PCJ