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

Implement support for embedded-hal 1.0 #36

Merged
merged 1 commit into from
May 10, 2024
Merged

Implement support for embedded-hal 1.0 #36

merged 1 commit into from
May 10, 2024

Conversation

dbrgn
Copy link
Owner

@dbrgn dbrgn commented May 10, 2024

Replaces #34 and #35. Fixes #31.

Co-authored-by: Phil Markgraf <shakencodes@gmail.com>
Co-authored-by: Louis Thiery <thiery.louis@gmail.com>
Co-authored-by: lightyear15 <g.minist8@gmail.com>
@dbrgn dbrgn added the enhancement New feature or request label May 10, 2024
@dbrgn dbrgn self-assigned this May 10, 2024
This was referenced May 10, 2024
@dbrgn
Copy link
Owner Author

dbrgn commented May 10, 2024

Tested successfully with an SHTC1:

$ cargo build --example linux-shtc1 && sudo target/debug/examples/linux-shtc1
Starting SHTC1 tests.

Soft reset...

Device identifier: 0x07
Raw ID register:   0b0000000011000111

Normal mode measurements:
  23.56 °C | 50.04 %RH
  23.58 °C | 50.02 %RH
  23.56 °C | 50.03 %RH

Low power mode measurements:
  23.82 °C | 50.46 %RH
  23.97 °C | 50.48 %RH
  23.77 °C | 50.48 %RH

@dbrgn dbrgn merged commit a883900 into main May 10, 2024
5 checks passed
@dbrgn dbrgn deleted the embedded-hal-1 branch May 10, 2024 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for embedded-hal 1.0
1 participant