kled(lum-blink)

koadrobot/devices/kled(lum-blink)

Led is LUM value during duty on Interval Time, else OFF.
kled(lum-blink)
@/kled(lum-blink)
Led is LUM value during duty on Interval Time, else OFF.
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].
PULLboolean
Hardware connection. pulldown (true) - High, pullup (false) - Low (1-duty).
IVALnumber
Time interval between switches to `true`, i.e. the period of the square wave.
DUTYnumber
Duty cycle. Ratio of `true` signal duration to the whole `IVAL`.
ENboolean
Enabled or not. When set to `false` pauses generation preserving the current phase. When set to `true` again continues counting from the saved phase.
RSTpulse
Resets the wave phase and `N` to zero.
kled(lum-blink)
PORT
LUM
PULL
IVAL
DUTY
EN
RST
DONE
ERR
ERRpulse
Fires if write failed. E.g. `PORT` does not exist.
DONEpulse
Fires on writing complete
To use the node in your project you should have the koadrobot/devices library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.