rgb-led

hendyhinds1/rgb-led/rgb-led

Drives RED, BLUE and GREEN color dimmable LEDs. 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.
rgb-led
@/rgb-led
Drives RED, BLUE and GREEN color dimmable LEDs. 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.
R-PORTport
Board port number the LED is connected to. The port should be capable of generating PWM signal.
R-LUMnumber
Luminance (brightness) value in relative units [0.0, 1.0].
G-PORTport
Board port number the LED is connected to. The port should be capable of generating PWM signal.
G-LUMnumber
Luminance (brightness) value in relative units [0.0, 1.0].
B-PORTport
Board port number the LED is connected to. The port should be capable of generating PWM signal.
B-LUMnumber
Luminance (brightness) value in relative units [0.0, 1.0].
UPDpulse
Triggers new write
rgb-led
R-DONE
R-ERR
G-DONE
G-ERR
B-DONE
B-ERR
R-PORT
R-LUM
G-PORT
G-LUM
B-PORT
B-LUM
UPD
B-ERRpulse
Fires if write failed. E.g. `PORT` does not exist.
B-DONEpulse
Fires on writing complete
G-ERRpulse
Fires if write failed. E.g. `PORT` does not exist.
G-DONEpulse
Fires on writing complete
R-ERRpulse
Fires if write failed. E.g. `PORT` does not exist.
R-DONEpulse
Fires on writing complete
To use the node in your project you should have the hendyhinds1/rgb-led 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.