Blink1Device.enableServerDown

Enables the blink1's dead man's trigger. This will play the pattern on the LED when pokeServerDown hasn't been called after timeout has been passed.

class Blink1Device
@trusted
void
enableServerDown
(
Duration timeout
,
bool stayLit
,
ubyte startPosition = 0
,
ubyte endPosition = 255
)

Parameters

timeout Duration

when to start blinking.

stayLit bool

if the LED should stay on after playing the pattern.

startPosition ubyte

The starting position within the pattern. Default: 0

Meta