-
Notifications
You must be signed in to change notification settings - Fork 200
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
added hdc2080 decoder #96
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- see inline comments;
- will need to link PRs for corresponding dump & test suite.
## | ||
## This file is part of the libsigrokdecode project. | ||
## | ||
## Copyright (C) 2022 Jean Gressmann <[email protected]> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where is this copyright line from ? (doesn't match the one in the other file)
## OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
## SOFTWARE. | ||
## | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add links to documentation / datasheets; a short description paragraph wouldn't hurt
# fixed to 100000, and the 1 LSBs can be configured. | ||
# Thus, valid slave addresses (100000x) range from 0x40 to 0x41 | ||
if addr not in [0x40, 0x41]: | ||
s = 'Warning: I²C slave 0x%02x not an HDC2080 sensor.' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this get printed if there is unrelated traffic on the i2c bus ? e.g. talking to an eeprom at the same time should not cause this PD to spam warnings on every transaction
Thanks for the comments! I'll get to work on it :) RE linking to PRs with dump & test suite, could that be in the same PR as this? |
Any comments to improve/should be changed, please review.