You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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
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.)
The text was updated successfully, but these errors were encountered:
[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 asI have tested this fixed code and it works using development HAL versions
stm32F1xx_hal
(on bluepill) andstm32F4xx_hal
(on blackpill stm32f401). It also compiles with development HAL versionsstm32f0xx_hal
,stm32f3xx_hal
,stm32f7xx_hal
,stm32h7xx_hal
,stm32l0xx_hal
,stm32l1xx_hal
, andstm32l4xx_hal
. For anyone interested, up-to-date compiling results are reported underActions
at https://github.com/pdgilbert/rust-integration-testing. (See examplesath10-display
andath10_rtic
.)The text was updated successfully, but these errors were encountered: