Méthode | Description | |
---|---|---|
Leds ( AForge.Robotics.TeRK.Qwerk qwerk ) |
Initializes a new instance of the Qwerk.Leds class.
|
|
SetLedState ( int led, LedState state ) : void |
Set state of specified LED. The method sets state of one of Qwerk's LEDs, which index is specified. |
|
SetLedsState ( LedState state ) : void |
Set state of all LEDs. The method sets the same state to all Qwerk's on-board LEDs. |
|
SetLedsState ( bool ledsMask, LedState states ) : void |
Set state of all LEDs. The ledsMask and states arrays specify which Qwerk's on-board LED's state should be updated. If value of the ledsMask array is set to |
public Leds ( AForge.Robotics.TeRK.Qwerk qwerk ) | ||
qwerk | AForge.Robotics.TeRK.Qwerk | Reference to |
public SetLedState ( int led, LedState state ) : void | ||
led | int | LED to set state for, [0, |
state | LedState | LED's state to set. |
Résultat | void |
public SetLedsState ( LedState state ) : void | ||
state | LedState | State, which will be set to all LEDs. |
Résultat | void |
public SetLedsState ( bool ledsMask, LedState states ) : void | ||
ledsMask | bool | Mask array specifying which LED's state need to be set. |
states | LedState | Array of LEDs' states. |
Résultat | void |