node-red-contrib-tinkerforge_ledv2
v1.0.0
Published
node-red-contrib-tinkerforge_ledv2
Downloads
3
Readme
Control Node for LED Bricklet V2 Type Host, Port etc in the node configuration.
Then use following message object. msg.payload.offset = offset beginning LED msg.payload.control = Array with RGB (e.g. [0,0,255] or [0,0,255,0,0,255] ....
e.g internal: // Set first 3 LEDs to red, green and blue ls.setLEDValues(msg.payload.offset, msg.payload.control ls.setLEDValues(0, [255, 0, 0, 0, 255, 0, 0, 0, 255]);