setPatternFor

open fun setPatternFor(@NonNull duration: Measure<Time>, @NonNull pattern: RevBlinkinLedDriver.BlinkinPattern): Task

Set the current pattern for a set duration.

Return

a task to set the pattern for a duration

Parameters

duration

the time duration

pattern

the pattern to set