Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-red-node-grovepi

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-node-grovepi - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

6

grovepi.js

@@ -38,6 +38,7 @@ /**

}
var topicString = 'grovepi/analog/' + this.pin;
this.sensor = node.boardConfig.board.registerSensor('analog', null, this.pin, this.repeat, function(response){
var msg = {};
msg.payload = response;
msg.topic = topicString;
node.send(msg);

@@ -77,6 +78,7 @@ });

}
var topicString = 'grovepi/' + this.sensor + '/' + this.pin;
this.sensor = node.boardConfig.board.registerSensor('digital', this.sensor, this.pin, this.repeat, function(response){
var msg = {};
msg.payload = response;
msg.topic = topicString;
node.send(msg);

@@ -83,0 +85,0 @@ });

{
"name": "node-red-node-grovepi",
"version": "0.1.1",
"version": "0.1.2",
"description": "Node-RED nodes that get sensor data and control ports on the GrovePi",

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc