node-red-contrib-i2c
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -45,3 +45,3 @@ module.exports = function(RED) { | ||
var payload; | ||
if (Array.isArray(msg) && node.count == 1) { | ||
if (Buffer.isBuffer(res) && node.count == 1) { | ||
payload = res[0]; | ||
@@ -48,0 +48,0 @@ } else { |
{ | ||
"name": "node-red-contrib-i2c", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "A Node-RED node to talk to the Raspiberry PI's I2C port", | ||
@@ -20,7 +20,7 @@ "dependencies": { | ||
"type": "git", | ||
"url": "https://github.com/github.com/nielsnl68/node-contrib-i2c" | ||
"url": "https://github.com/nielsnl68/node-contrib-i2c" | ||
}, | ||
"node-red": { | ||
"nodes": { | ||
"i2c": "26-i2c.js" | ||
"i2c": "i2c/26-i2c.js" | ||
} | ||
@@ -27,0 +27,0 @@ }, |
@@ -6,3 +6,3 @@ # node-red-contrib-i2c | ||
npm install—unsafe-perm node-red-contrib-i2c | ||
npm install —unsafe-perm node-red-contrib-i2c | ||
@@ -9,0 +9,0 @@ Usage |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
50723