Skip to content

remove warning from rdSHT21#2

Open
Basti-iTAS-PLMS wants to merge 3 commits intomainfrom
feature_remove_SHT21_warning
Open

remove warning from rdSHT21#2
Basti-iTAS-PLMS wants to merge 3 commits intomainfrom
feature_remove_SHT21_warning

Conversation

@Basti-iTAS-PLMS
Copy link
Copy Markdown
Member

compiler complained about wrong parameter type (uint8_t* instead of uint16_t*). Fixed this by changing the parameter's type and usage of bit shifting instead of array access. Downside is an additional command. Is this an issue @VSK-THU?

compiler complained about wrong parameter type (uint8_t* instead of uint16_t*). Fixed this by changing the parameter's type and usage of bit shifting instead of array access. Downside is an additional command. Is this an issue @VSK-THU?
@Basti-iTAS-PLMS
Copy link
Copy Markdown
Member Author

Basti-iTAS-PLMS commented Jan 10, 2025

If suggested change is acceptable, I will update SHT21 lib (can you again tell me where to find latest version?) and add the fix.

Sebastian Moosbauer added 2 commits January 10, 2025 20:46
according to the datashet, the sensors response contains two status bits. Bit 0 and 1 of the measurement. Thus, those two need to be masked out. See chapter 5.4 in the bottom right paragraph
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

Successfully merging this pull request may close these issues.

2 participants