GetLED

Gets the current active period and blink rate for the specified LED.

Syntax

public static bool GetLED (
    int LedNo, 
    ref int ActivePeriod, 
    ref int BlinkRate
)

Parameters

LedNo
Defined by the LEDType Enumeration:
12 = Green LED
13 = Red LED

ActivePeriod
[out] Current value for the active period.

BlinkRate
[out]Current value for the blink rate.

For valid values, see the Remarks in SetLED.

Return Values

Returns true on success.

Exceptions

Throws an LEDControlException when an error occurs.

More Information

LEDControl Class