-
Notifications
You must be signed in to change notification settings - Fork 92
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
Exited with code null #25
Comments
It's looks, that problem is at Write section. |
Problem is not only at Write section :( Exit with code null will come around 1 time of 1 000 at Writing. Debug mode doesn't works, I cant inspect where is problem, but It's looks that problem is somewhere at coffee script at some unhanded i2c state. |
I haven't encountered this issue. If you see the problem in the code, submit a pull request. |
Code of your node and coffee module looks good. It's could be anywhere, source c code, h code, some node source ... I2C is temporary bus type at my project now, I will switch to RS485 later, I2C is too slow and it has length limit. |
Is this issue still relevant on latest @abandonware's fork ? https://libraries.io/npm/@abandonware%2Fi2c/usage Relate-to: #97 |
Hello,
I have a problem with some non-handled error from your i2c module.
My code works very well for many days when I'm using RPi i2c-tool command (i2cget, i2cset), but it has hight CPU load. I switched to your i2c node/coffee script before few days, it's works well and fast, but I'm getting error now.
That error has no notice, no warning... node just exit with code null. Error appear randomly, sometime after 30min, sometime after 6 hours of run.
node supervisor says: "Exited with code null", so I don't have notice and log for inspect error part.
supervisor watching program and restart it after error, but I prefer inspect error and fix it.
Is any way how to make i2c debug mode to work? I'm not good on coffeescript :(
Thank you very much.
The text was updated successfully, but these errors were encountered: