-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
ads1115.setup() performs reset of all i2c devices #2238
Comments
The ads1115 specific issue is gone, but in my opinion, the reset function does not belong to ads1115 module. |
After reading through the I2C spec chapters for "General call address" and "Software reset" I also think that the generic bus reset should not be part of a device-specific module. Consequently, the i2c.general_call(id, second_byte[, <more bytes>])
-- with constants for <second_byte>
-- i2c.RESET_AND_WRITE_SLA
-- i2c.WRITE_SLA Is this a reasonable improvement of the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Issue should be kept. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Probably still an issue. Belatedly, I see no reason not to add |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Still hoping to get this fixed |
Missing feature
The current released ads1115 module issues a i2c general reset during the setup()
This reset is not specific to ads hardware.
How about moving it to the i2c module.
Justification
It is likely another module using i2c implements the same reset logic.
Workarounds
The setup of ads1115 has to be called before other i2c devices are programmed.
The text was updated successfully, but these errors were encountered: