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. Possible errors: — Invalid port
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. Possible errors: — Invalid port
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].
ACTboolean
Updates the luminocity of the LED on incoming value change while `ACT` is true.
led
PORT
LUM
ACT
DONE
DONEpulse
Fires on writing complete