kled(sig-blink)

koadrobot/devices/kled(sig-blink)

No description
kled(sig-blink)
@/kled(sig-blink)
PORTport
Board port number the LED is connected to. The port should be capable of generating PWM signal.
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(sig-blink)
PORT
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.