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

not working - consider the PR #2

Open
pdgilbert opened this issue Jan 19, 2023 · 0 comments
Open

not working - consider the PR #2

pdgilbert opened this issue Jan 19, 2023 · 0 comments

Comments

@pdgilbert
Copy link

[Just noting this under issues so anyone that thinks to look here first does not spend as long as I did before looking at pull request #1]

As of Jan 2023 the master branch version of this crate does not work. The device continuously returns 50/-50 for temperature and humidity. The problem is discussed in PR #1. @andy31415 reports the problem on CortexM0 and provides the fix. @kiyoshigawa also reports it, and I had the same problem on bluepill (stm32F103 Cortex-M3). The PR code is available as

aht10= { git = "https://github.com/andy31415/aht10", branch = "fix_status_check" }

I have tested this fixed code and it works using development HAL versions stm32F1xx_hal (on bluepill) and stm32F4xx_hal (on blackpill stm32f401). It also compiles with development HAL versions stm32f0xx_hal, stm32f3xx_hal, stm32f7xx_hal, stm32h7xx_hal, stm32l0xx_hal, stm32l1xx_hal, and stm32l4xx_hal. For anyone interested, up-to-date compiling results are reported under Actions at https://github.com/pdgilbert/rust-integration-testing. (See examples ath10-display and ath10_rtic.)

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

No branches or pull requests

1 participant