This library allows to drive LEDs to simulate railroad signals. LightDimmer allows to drive LEDs to simulate railroad signals. The user can specify a flashing period, a fade time and a rise time for each LED. In addition the duty cycle corresponding to the on state can be specified.