Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

added hdc2080 decoder #96

wants to merge 2 commits into from

Conversation

eyJhb
Copy link

@eyJhb eyJhb commented Dec 14, 2022

Any comments to improve/should be changed, please review.

@eyJhb
Copy link
Author

eyJhb commented May 2, 2024

@abraxa @fenugrec is there anything I can do to get this merged?
It might also be, that it's not useful enough :)

Copy link
Contributor

@fenugrec fenugrec left a 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 <jean@0x42.de>
Copy link
Contributor

@fenugrec fenugrec May 2, 2024

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.
##

Copy link
Contributor

@fenugrec fenugrec May 2, 2024

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.'
Copy link
Contributor

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

@eyJhb
Copy link
Author

eyJhb commented May 3, 2024

  • see inline comments;

    • will need to link PRs for corresponding dump & test suite.

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants