miketrebilcock / js-pigpio Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
package.json
es6-set ^0.1.4
node-constants 0.0.2
put 0.0.6
chai 3.5.0
codecov 3.6.5
commitizen 2.10.1
cz-conventional-changelog 1.2.0
docdash 0.4.0
eslint 3.19.0
eslint-config-airbnb-base 11.3.2
eslint-config-node 1.6.0
eslint-plugin-import 2.20.2
eslint-plugin-jsdoc 2.4.0
istanbul 0.4.5
jsdoc 3.6.4
mocha 3.5.3
mocha-eslint 3.0.1
semantic-release 6.3.6
.travis.yml
node 7
node 6
Hi,
I think in this line
https://github.com/i-am-digital/js-pigpio/blob/master/js-pigpio/_callback.js#L87
you mean
this._notify.remove(this._callback);
rather than notfy
thanks
Since the referenced version of 'put' has a few x86 binaries in it (for regression testing), this causes a hiccup in cross-compiling under buildroot. (It checks for proper architecture on your target)
Bump the dependency for 'put' to 0.0.7 to point to a revision that includes no pre-built binaries.
Hi the package.json says version
0.0.0-development
but npm (https://www.npmjs.com/package/js-pigpio) says
1.5.1 is the latest of 9 releases
should they not be consistent ?
I'm working on https://www.npmjs.com/package/node-red-node-pi-gpiod and found some issues regarding the Lock mechanism of this library.
Seems that something went wrong in acquireLock().
You are checking in Line 46 if the lock entry !== undefined what is ok for waiting if it is set, but it isn't set at startup, so the loop "content" will never be called. The result is that it never gets set.
I also ran into some problems with timeout() => was never called, so i used process.hrtime() instead.
Result would be something like:
const start = process.hrtime();
while (_LOCKS[this.host + ':' + this.port] !== undefined) {
var diff = process.hrtime(start)[1] / (1000000 * 500);
if (diff >= 1){
break;
}
}
if (_LOCKS[this.host + ':' + this.port] === undefined) {
_LOCKS[this.host + ':' + this.port] = 'Locked';
} else {
throw new Error('Can not acquire Lock');
}
But now i get errors because of the 2nd connection from _callback.js
So my question is how the lock was intended to work?
Hi, Can i use js-pigpio to access SPI,I2C device ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.