Вы здесь

LED States

DLN-series adapters allow you to control LEDs’ behavior by defining the value of the DLN_LED_STATE type defined in the dln_led.h file.The list of its possible LED states is given in the following table:

Led States
StateLED Behavior

DLN_LED_STATE_OFF

Off

DLN_LED_STATE_ON

On

DLN_LED_SLOW_BLINK

Blinking slowly

DLN_LED_FAST_BLINK

Blinking rapidly

DLN_LED_DOUBLE_BLINK

Blinking in a double-blink pattern

DLN_LED_TRIPLE_BLINK

Blinking in a triple-blink pattern

To specify a LED state, use the DlnLedSetState() function. You can check the current state of a LED by using the DlnLedGetState() function.

Rating: 
Средняя: 2.5 (2 оценок)

Языки

Вход на сайт