Blink1Device.setRGB

Immediatelty changes the color to the given value

class Blink1Device
@trusted
void
setRGB
(
ubyte r
,
ubyte g
,
ubyte b
)

Parameters

r ubyte

red component of color (0 <= r <= 255)

g ubyte

green component of color (0 <= g <= 255)

b ubyte

blue component of color (0 <= b <= 255)

Throws

Blink1Exception on error.

See Also

Meta