Open TheJoshW opened 3 years ago
Hello, did you get anywhere on making this an MCU sensor? Thanks.
Hi,No I haven’t had time sorry. Feel free to give it a try.On 30 Dec 2022, at 19:19, Amar Takhar @.***> wrote: Hello, did you get anywhere on making this an MCU sensor? Thanks.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
Hello, any update on this?
No updates yet. If anyone has done this already please make the change. Otherwise I will get to it when I get time.
Per comment in PR #4320:
Thanks. However, the convention is to read sensor input from the "mcu" code and not directly from the host hardware. There was a similar discussion on this at PR #3462 . (And it may be possible to extend te ds18b20 code for the dh22 functionality.)
This distinction is also important because there are reports that the dht22 kernel code blocks the calling process during reads. The host code can't tolerate blocking reads - it could cause subtle failures.
-Kevin