-
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
Problem talking to multiple i2c devices #7
Comments
There is a setAddress method, but I'll change it so that it sets the address before each read and write request. I'll get that in the next version. |
I have tested with the new version but the problem still exists. I can see the changes in the i2c.cc file but it doesn't seem to change the address properly. If I do wire.setAddress(..) it is working okay. |
Will try a few more things and get a new release out soon. |
Maybe fixed now? Still haven't had a chance to test. |
Has the latest version been verified to support multiple simultaneous i2c devices? |
is there an update to this? |
I am having similar issues. var device1 = new i2c(0x70, {device: '/dev/i2c-1', debug: false}); Has anybody had trouble with this? |
I am still having a show stopping bug related to this. Here is my error: Thanks for looking, any suggestions would be greatly appreciated. |
Hi,
after the update the i2c address has to be passed to the constructor when initialising a new i2c device. Unfortunately this does not account for talking to multiple i2c devices:
Is this behaviour intended? If so, what would be the correct way to change the i2c address after initialisation?
The text was updated successfully, but these errors were encountered: