Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers/dht: busy wait reimplementation
- many backports from @maribu's IRQ based implementation (RIOT-OS#18591) - use of ztimer and errno.h - separation of dht_read() steps into functions for better readability - reintroduction of DHT11/DHT22 differentiation - sensor presence checking in dht_init() - default input mode changed to open drain - AVR support without platform-specific handling by avoiding ztimer_spin() and using the overflow of an 8-bit variable as a pre-timeout to minimize time-consuming ztimer_now() calls - add a new DHT11_2022 type for 0.01 °C resolution devices - data caching removed
- Loading branch information