Fork of DHT component - https://os.mbed.com/teams/components/code/DHT/ and update for MbedOS6+

Revision:
4:655ecec987ca
Parent:
3:6937e130feca
--- a/DHT.cpp	Sat May 28 11:11:34 2016 +0000
+++ b/DHT.cpp	Mon May 31 07:47:49 2021 +0000
@@ -77,7 +77,8 @@
     // start the transfer
     DHT_io.output();
     DHT_io = 0;
-    wait_ms(18);
+    if (_DHTtype == 11)thread_sleep_for(18);
+    else wait_us(500);
     DHT_io = 1;
     wait_us(30);
     DHT_io.input();