blink1_readPatternLineN

Read a color pattern line to blink1. ledn param only works on fw204+ devices

extern (C)
int
blink1_readPatternLineN
(,
ushort* fadeMillis
,
ubyte* r
,
ubyte* g
,
ubyte* b
,
ubyte* ledn
,
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

ledn ubyte*

pointer to store led number

pos ubyte

pattern line number 0-max-patt

Return Value

Type: int

-1 on error, 0 on success

Meta