Qengineering / DHT22-Raspberry-Pi

DHT22 sensor on Raspberry Pi with WiringPi
https://qengineering.eu/opencv-c-examples-on-raspberry-pi.html
BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

Loop interval timing #1

Open saspelund opened 1 year ago

saspelund commented 1 year ago

In the documentation, it says that the loop timing must be >2 seconds while the code only waits 1 seconds. I set my pause to 2.5 seconds and it helped somewhat. Still throws quite a few errors (I am testing 7 of them simultaneously).

Thanks a million for this work! It really helped me.

woodz- commented 5 months ago

What kind of errors do you receive? At runtime, at compile time?

saspelund commented 4 months ago

I wish I remembered. I caved and bought wifi sensors instead. My best guess/memory is that during runtime, the sensors would return bad data if the poll time was too short. It would compile fine.