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

servo-pca9685

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

servo-pca9685 - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

.npmignore

26

index.js

@@ -48,3 +48,3 @@ // Copyright 2014 Technical Machine, Inc. See the COPYRIGHT

// Enable the outpts
hardware.gpio(3).writeSync(0);
hardware.digital[3].write(0);

@@ -57,4 +57,4 @@ // Configure I2C address

hardware.gpio(2).writeSync(addr2);
hardware.gpio(1).writeSync(addr3);
hardware.digital[2].write(addr2);
hardware.digital[1].write(addr3);

@@ -302,5 +302,4 @@ this.address |= addr2 << 2;

if (err) {
if (callback) {
callback(err, null);
}
callback && callback(err, null);
return;
}

@@ -340,12 +339,13 @@ var newMode = oldMode | 0x10;

});
}
else {
if (callback) {
callback(null, servos);
}
} else {
setImmediate(function() {
servos.emit('error');
servos.emit('error', err);
});
if (callback) {
callback(err);
}
}
if (callback) {
callback();
}
});

@@ -352,0 +352,0 @@ return servos;

{
"name": "servo-pca9685",
"version": "0.1.0",
"version": "0.1.1",
"description": "Library to run the PCA9685 PWM driver.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "tinytap -e 'tessel run {} ${SERVO_PORT}' test/*.js"
},
"repository": {
"type": "git",
"url": "git://github.com/technicalmachine/servo-pca9685.git"
},
"author": "Jia Huang <jialiya.huang0@gmail.com>",
"repository": "tessel/servo-pca9685",
"author": "Jia Huang <jia@technical.io>",
"license": "MIT",

@@ -22,2 +19,6 @@ "readmeFilename": "README.md",

},
"dependencies": {},
"devDependencies": {
"tinytap": "0.0.2"
},
"keywords": [

@@ -24,0 +25,0 @@ "tessel",

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