slcd_sync_start_animation

Start animation play by a segment array.

int32_t slcd_sync_start_animation(
    struct slcd_sync_descriptor *const descr,
    const uint32_t segs,
    uint32_t len,
    const uint32_t period
)

Parameters

descr

Type: struct slcd_sync_descriptor Struct *const

SLCD descriptor

segs

Type: const uint32_t

Segment array

len

Type: uint32_t

Length of the segment array

period

Type: const uint32_t

Period (milliseconds) of each segment to animation

Returns

Type: int32_t