1.0.0 • Published 3 years ago

node-red-contrib-tinkerforge_ledv2 v1.0.0

Weekly downloads
3
License
ISC
Repository
-
Last release
3 years ago

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);