Re: DHT22 Sensor driver
Nashif, Anas
Can you please submit a bug or a PR with this change and more details. Thanks.
From: zephyr-devel-bounces@... [mailto:zephyr-devel-bounces@...]
On Behalf Of Tiago Primini
Sent: Wednesday, February 7, 2018 10:45 AM To: zephyr-devel@... Subject: Re: [Zephyr-devel] DHT22 Sensor driver
Hi everyone!
The sensor sounds like work if this condition at dht.c line 42:
if (elapsed_cycles >= max_wait_cycles)
changes to:
if (elapsed_cycles > max_wait_cycles)
Could be an error in the Zephyr's DHT driver?
Att, T. Primini
On Tue, Feb 6, 2018 at 8:32 AM, Tiago Primini <primini@...> wrote:
|
|