Read DHT21/22/33/43 and AM2301/2302/2303 humidity temperature combo sensors.
#### Syntax
`dht.read2x(pin)`
#### Parameters
`pin` 0~33, IO index
#### Returns
-`status` as defined in Constants
-`temp` temperature (see note below)
-`humi` humidity (see note below)
-`temp_dec` temperature decimal
-`humi_dec` humidity decimal
!!! note
If using float firmware then `temp` and `humi` are floating point numbers. On an integer firmware, the final values have to be concatenated from `temp` and `temp_dec` / `humi` and `hum_dec`.
Support for this Lua module has been discontinued.
Equivalent functionality is available from the dht module in the NodeMCU
firmware code base. Refer to `docs/en/modules/dht.md` for API
documentation.
The original Lua code can be found in the [git repository](https://github.com/nodemcu/nodemcu-firmware/tree/2fbd5ed509964a16057b22e00aa8469d6a522d73/lua_modules/dht_lib).