node-red-contrib-lcd20x4-i2c
Advanced tools
Comparing version 0.0.3 to 0.1.0
@@ -33,2 +33,8 @@ module.exports = function(RED) { | ||
} | ||
if (n.address !== undefined){ | ||
this.address = n.address; | ||
} | ||
else{ | ||
this.address = "0x27"; | ||
} | ||
@@ -47,3 +53,3 @@ if (isNaN(this.speed)){ | ||
if (this.lcdsize == "20x4"){//|| this.lcdsize == "16x2"){ uncomment to enable 16x2 screens when supported | ||
node.child = spawn(LCDcommand, ["writelcd",this.lcdsize,this.speed]); | ||
node.child = spawn(LCDcommand, ["writelcd",this.lcdsize,this.speed,this.address]); | ||
node.running = true; | ||
@@ -50,0 +56,0 @@ node.status({fill:"green",shape:"dot",text:"OK"}); |
@@ -9,3 +9,3 @@ { | ||
"name": "node-red-contrib-lcd20x4-i2c", | ||
"version": "0.0.3", | ||
"version": "0.1.0", | ||
"description": "Driver for 20x4 LCD Display", | ||
@@ -12,0 +12,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances 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
36324
13
157
3