get_led


Description:

public Led get_led (string name, string color) throws DeviceError

Get an Led device by name.

Parameters:

name

The name of the LED.

color

The color of the LED.

Returns:

The Led object for the device.

Exceptions:

DeviceError.NOT_FOUND

if a Led device with the specified name and color is not found.