Pan
Pan
Hello. Sorry about the error. This is because I renamed these functions in the .c and .h files but forgot to update `main.c`. I have updated [`main.c`](https://github.com/eepj/SHT2x_for_STM32_HAL/blob/master/examples/main.c) just now. The...
Hi. Thanks for letting me know. I've checked the .c file and the original line seems to be `uint8_t cmd = (hold ? SHT2x_READ_RH_HOLD : SHT2x_READ_RH_NOHOLD);`. Please replace the line...
Hello. I'm sorry that I'd only tested the code in STM32CubeIDE. I've just tested the code in Keil and ran into the same error. `../Core/Src/main.c(124): error: #18: expected a ")"`...
Sorry about the first error. I changed the identifier `Resolution` and forgot to update the .c file. Thanks for letting me know. I think the second error has to do...
Sure thing! Thanks for your interest in my library as well.
Hi. Sorry about the error. This is because I accidentally defined `_sht2x_ui2c` in the .h header. So every time you call `#include "sht2x_for_stm32_hal.h"`, the linker defines it again and leads...
Hi. I also use STM32CubeMX but I'm not sure about this error. The first time I tried I also had some strange constant value and it turned out to be...
Hello. I've replicated the error with my SHT20 sensor. I think it's a small glitch with the I2C connection in no hold master mode, causing it to miss the ACK...
Hi. So now you can see the proper temperature and humidity values in the serial monitor or just negative values?
That's good news! I'll revert the .c file. Thank you for your useful feedback. It helps me a lot with my future projects. Hopefully everything goes well for your project...