node-red-contrib-ats-led-2
v0.4.9
Published
A node-RED node for ATS/NCD HAT LED's
Downloads
26
Readme
node-red-contrib-ats-led-2
A node specifically written for ats/ncd hat to control RGBY led
Inputs
1 = on 0 = off
Outputs
The complete msg.payload contains the availble output.. MLC 7/5/23;
Details
Ways to select LED colors
Select color drop down = use color selector drop down.
msg.color = text value of "red,blue.green,yellow or off".
msg.ledpin = numeric value of gpio "value" "18,23,24" Note: code based on rpi gpio lib.
example: GPIO18 = pi4 pin 12.
Note: reqiures manual selection of msg.ledpin from color selector.
example: msg.ledpin = 24 (set led color to red)
example: msg.color = "red" (set led color to red)
pin 12 = GPIO18 = Color BLUE - V10 only
pin 16 = GPIO23 = Color GREEN
pin 24 = GPIO24 = Color RED
selection 41 = pin 16 & pin 18 = GPIO23 GPIO24 = Color YELLOW - V10 only.
selection 99 = ALL OFF
selection 999 = msg.ledpin - Programable selector