🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

node-red-node-arduino

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-node-arduino - npm Package Compare versions

Comparing version

to
0.3.0

@@ -207,6 +207,12 @@

RED.httpAdmin.get("/arduinoports", RED.auth.needsPermission("arduino.read"), function(req,res) {
SP.list(function(error, ports) {
res.json(ports);
});
SP.list().then(
ports => {
const a = ports.map(p => p.comName);
res.json(a);
},
err => {
this.log('Error listing serial ports', err)
}
)
});
}
{
"name" : "node-red-node-arduino",
"version" : "0.2.4",
"version" : "0.3.0",
"description" : "A Node-RED node to talk to an Arduino running firmata",

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

Sorry, the diff of this file is not supported yet