Blink1Device.writePatternLineHSV

Writes a pattern line to the device.

On MK1 devices this will store it in nonvolatile storage. On MK2 and later devices this will store it in RAM. Call savePattern to store it in nonvolatile storage.

class Blink1Device
@trusted
void
writePatternLineHSV
(
ubyte pos
,
ubyte h
,
ubyte s
,
ubyte v
,
Duration duration = seconds(01)
,)

Parameters

pos ubyte

The position to write to, starting from zero.

h ubyte

hue component

s ubyte

saturation component

v ubyte

value component

duration Duration

time it takes to fade

led LED

The LED to use.

Throws

Blink1Exception if an error occurs.

Meta