blink1_readPatternLine

Read a color pattern line to blink1.

extern (C)
int
blink1_readPatternLine
(,
ushort* fadeMillis
,
ubyte* r
,
ubyte* g
,
ubyte* b
,
ubyte pos
)

Parameters

dev blink1_device*

blink1 device to command

fadeMillis ushort*

pointer to milliseconds to fade to RGB color

r ubyte*

pointer to store red color component

g ubyte*

pointer to store green color component

b ubyte*

pointer to store blue color component

Return Value

Type: int

-1 on error, 0 on success

Meta