Closed PascalCorpsman closed 3 years ago
Thanks for this fix, it looks good. I'll need to check DHTstable :)
The #include <stdint.h>
is not needed.
The code already uses uint8_t quite a lot so int16_t is available. Can you verify that?
i overlooked your code (now in more detail)
in the header file you include
Do i have to create a nother pull request for that ?
By the way, as stdint.h is using inclusion guards it does not harm the code as the preprocessor skippes it ..
Fixed reading error for negative numbers on DHT22 module
=> i originally fixed this in dhtstable, and it works great on my arduino nano, while the original code always gives mit -32*. values
With this the "hack" of negating the result is not needed