Blink1Device.fadeToHSV

Fades the color to the specified value with the given duration.

class Blink1Device
@safe
void
fadeToHSV
(
ubyte h
,
ubyte s
,
ubyte v
,
Duration dur = seconds(-1)
,)

Parameters

h ubyte

hue component of color (0 <= h <= 255)

s ubyte

saturation component of color (0 <= s <= 255)

v ubyte

value component of color (0 <= v <= 255)

dur Duration

duration of the fade animation. Maximum duration is 65,355 milliseconds. Defaults to defaultDuration

led LED

which LED to fade. Defaults to all LEDs

Throws

Blink1Exception on error.

See Also

Meta