Вы здесь

DlnLedGetCount() Function

The DlnLedGetCount() function retrieves the total number of user-controlled LEDs available in the device.

Syntax
C/C++
DLN_RESULT DlnLedGetCount(
   HDLN handle,
   uint8_t* count
);
Parameters
handle

A handle to the DLN-series adapter.

count

A pointer to an unsigned 8-bit integer. After the function execution, this integer stores the number of user-controlled LEDs.

Return Value
DLN_RES_SUCCESS (0x00)

The function was successful.

Remarks

The DlnLedGetCount() function is declared in the dln_led.h file.

Языки

Вход на сайт