mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Fix listing errors in node-red-nodes
This commit is contained in:
@@ -55,8 +55,8 @@ module.exports = function(RED) {
|
||||
}
|
||||
else if (p3.test(msg.payload)) {
|
||||
// if it is a r,g,b,index quad for a two led device
|
||||
var rgb = msg.payload.split(',');
|
||||
blink1[node.serial||"one"].fadeToRGB(node.fade, parseInt(rgb[0])&255, parseInt(rgb[1])&255, parseInt(rgb[2])&255, parseInt(rgb[3])&3);
|
||||
var rgb2 = msg.payload.split(',');
|
||||
blink1[node.serial||"one"].fadeToRGB(node.fade, parseInt(rgb2[0])&255, parseInt(rgb2[1])&255, parseInt(rgb2[2])&255, parseInt(rgb2[3])&3);
|
||||
}
|
||||
else {
|
||||
// you can add fancy colours by name here if you want...
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "node-red-node-blink1",
|
||||
"version" : "0.0.14",
|
||||
"version" : "0.0.15",
|
||||
"description" : "A Node-RED node to control a Thingm Blink(1)",
|
||||
"dependencies" : {
|
||||
"node-blink1" : "0.2.2"
|
||||
|
Reference in New Issue
Block a user