-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pigpio.initialize() doenst do its job after pigpio.terminate() #34
Comments
Does it work if the following code in pigpio.js is modified from: module.exports.terminate = function () {
pigpio.gpioTerminate();
}; to: module.exports.terminate = function () {
pigpio.gpioTerminate();
initialized = false;
}; |
Yes!!! |
Ok, thanks for the feedback. |
Fixed by 1f745d2 in pigpio@0.6.2. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a situation in which I use pigpio in Node and in native C
Thus I need to call pigpio.terminate() in Node before I can call pigpio in C otherwise C complains about not getting the lock on the pid.
When I then try to call pigpio.initialize in Node again it doesnt seem to work since I get the message:
Versions:
I expirience no problems with the C version of the pigpio library - hence I would assume its an issue with the wrapper.
The text was updated successfully, but these errors were encountered: