setPrimaryColorPeriod

open fun setPrimaryColorPeriod(duration: Int, timeUnit: TimeUnit)

set the duration of the primary color in a blink.

Parameters

duration

duration of loop.

timeUnit

unit to use.