TheJoshW / klipper

Klipper is a 3d-printer firmware
GNU General Public License v3.0
1 stars 0 forks source link

Make DHT22 an MCU Sensor #29

Open TheJoshW opened 3 years ago

TheJoshW commented 3 years ago

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

verm commented 1 year ago

Hello, did you get anywhere on making this an MCU sensor? Thanks.

TheJoshW commented 1 year ago

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: @.***>

Adib-C commented 3 weeks ago

Hello, any update on this?

TheJoshW commented 3 weeks ago

No updates yet. If anyone has done this already please make the change. Otherwise I will get to it when I get time.