Led constructor

Led(
  1. String name
)

Open the sysfs LED with the specified name.

'ls /sys/class/leds/' to list all available leds. c-periphery Led documentation.

Implementation

Led(this.name) : _ledHandle = _openLed(name);