blink1_playloop

Play color pattern stored in blink1mk2.

For mk2 devices only.

extern (C)
int
blink1_playloop
(,
ubyte play
,
ubyte startpos
,
ubyte endpos
,
ubyte count
)

Parameters

dev blink1_device*

blink1 device to command

play ubyte

boolean: 1=play, 0=stop

startpos ubyte

position to start playing from

endpos ubyte

position to end playing

count ubyte

number of times to play (0=forever)

Return Value

Type: int

-1 on error, 0 on success

Meta