ListenGlowState

fun ListenGlowState(listenLedColor: Color = Color(0,30,60), defaultLedColor: Color = Color(5,5,5)): State

The ListenGlow State should be included as a parallel state, and can then be toggled by raising the TurnOnListenGlow or TurnOffListenGlow events.

parallel(abortOnExit = false) { goto(UtilsLib.LEDs.ListenGlowState(listenLedColor, defaultLedColor)) }

Parameters

listenLedColor

LED color while listening, defaults to a calm blue

defaultLedColor

LED color while not listening, defaults to a dim white