led

xod/common-hardware/led

Drives a generic single color dimmable LED. The conversion between luminance and LED power is biased so that change in brightness on range 0…1 is percepted more or less uniformly by a human.
led
@/led
Drives a generic single color dimmable LED. The conversion between luminance and LED power is biased so that change in brightness on range 0…1 is percepted more or less uniformly by a human.
PORTport
Board port number the LED is connected to. The port should be capable of generating PWM signal.
LUMnumber
Luminance (brightness) value in relative units [0.0, 1.0].
UPDpulse
Triggers new write
led
PORTPORTLUMLUMUPDUPDDONEDONEERRERR
ERRpulse
Fires if write failed. E.g. `PORT` does not exist.
DONEpulse
Fires on writing complete