Socket
Socket
Sign inDemoInstall

node-red-contrib-anolog-to-digital-converter-raspberry-pi

Package Overview
Dependencies
25
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.24 to 0.4.25

18

ads1x15.js

@@ -144,3 +144,5 @@

//<option value="CHANNEL_0">A0-GND</option>
let chip_value = [this.chip.slice(this.chip.length - 7)];
let address_value = [this.i2c_address];
let channel_value = ["A" + [this.channel.slice(this.channel.length - 1)] + "-GND"];

@@ -150,3 +152,6 @@ //put all msgs into a object

{
[[this.chip.slice(this.chip.length - 7)] + " • " + ["I2C_" + [this.i2c_address]] + " • " + "Channel " + ["A" + [this.channel.slice(this.channel.length - 1)] + "-GND"] + " • " + "Voltage"]:volts
voltage : volts,
channel : channel_value,
I2C : address_value,
chip : chip_value
};

@@ -183,3 +188,5 @@

//<option value="DIFF_0_1">A0-A1</option>
let chip_value = [this.chip.slice(this.chip.length - 7)];
let address_value = [this.i2c_address];
let channel_value = ["A" + [this.channel.slice(5, - 2)]] + "-A" + [this.channel.slice(this.channel.length - 1)];

@@ -189,3 +196,6 @@ //put all msgs into a object

{
[[this.chip.slice(this.chip.length - 7)] + " • " + ["I2C_" + [this.i2c_address]] + " • " + "Channel " + ["A" + [this.channel.slice(5, - 2)]] + "-A" + [this.channel.slice(this.channel.length - 1)] + " • " + "Voltage"]:volts
voltage : volts,
channel : channel_value,
I2C : address_value,
chip : chip_value
};

@@ -192,0 +202,0 @@

{
"name": "node-red-contrib-anolog-to-digital-converter-raspberry-pi",
"version": "0.4.24",
"version": "0.4.25",
"description": "A node-red node providing access to a ADS1x15 I2C analog to digital converter using a raspberry pi",

@@ -5,0 +5,0 @@ "dependencies": {

@@ -193,3 +193,2 @@ node-red-contrib-anolog-to-digital-converter-raspberry-pi

<br>
<br>
version 0.4.24

@@ -199,1 +198,8 @@ <br>

<br>
<br>
<br>
<br>
version 0.4.25
<br>
Changed msg object to a better format
<br>
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc