Single bus communication.
----Sensor----MUC----
---- Vcc ---> 3.3V
---- SDA ---> desired gpio pin (w/pull-up resistor)
--- GND ---> GND
--- SCL ---> GND
Before include this you have to
---->#define DHT_PORT
---->#define DHT_PIN <GPIO_PIN_X>
else it uses GPIOA PIN 1
then
declare DHT_DataTypedef hdht
initiate sensor with DHT_Init(&hdht,&htim);
&htim for timer that has to be in 1MHZ