get_led


Description:

public LED get_led (string name) throws DeviceError

Get an LED device by name.

Parameters:

name

The sysfs device name.

Returns:

The LED object for the device.

Exceptions:

DeviceError.NOT_FOUND

if a LED device with the specified name is not found.