Fledex.Effect.Dimming (fledex v0.7.0)
View SourceThis is an effect that will dim all the leds.
This is a dynamic effect, because the dimming is connected to a trigger and hence the dimming will happen gradually.
Options
:trigger_name: The name of the trigger to which the dimming effect will be attached to.:divisor: The divisor allows to speed up (or slow down) the dimming effect. See alsoFledex.Effect.Rotation.
Future option ideas:
:direction: Allow the dimming effect to not only go from bright to dim (:dim, the default), but also the other direcion (:bright):max_val: limits the maximum amount of brightnss allowed:min_val: limits the minimum amount of dimness allowed:cycle: cycle between bright --> dim and back.