Closed Enterius closed 3 years ago
Ok, after some more testing it seems that it was just coincidence with moving display.setBrightness command. After a while temperature readings started to go crazy again. And as far as I can tell it might be just a shitty DHT11 that is making problems, not the libraries. So I'm closing this issue for now until I test it fully.
Hi, I discovered that when I try to combine your library with "SimpleDHT" in one sketch I need to put display.setBrightness command to setup loop. Otherwise if it is in main loop it changes the temperature readings from DHT11 and makes them higher about 5-7 degrees than normal. Before moving display.setBrightness command I tried to change pins for both display and DHT but with no effect. That is ok for me as I need constant brightness, but if someone would like to change it depending on some events than it could be a problem. I don't know if this problem is caused by your library or simpleDHT as I'm just a beginner and have no knowledge to investigate that. So I hope you could find some time to check this issue.
And by the way thanks for your library! It made my life much easier :)
Best regards Chris