B4J Programming Press on the image to return to the main documentation page.

rDht

List of types:

dht

dht

DHT11 and DHT22 lib

Events:

None

Members:


  GetHumidity As Double

  GetTemperature As Double

  Read11 (Pin As Byte) As Int

  Read22 (Pin As Byte) As Int

Members description:

GetHumidity As Double
Read Humidity as Percentage from DHT.
Returns 0 if there was a failure.
GetTemperature As Double
Read temperature from DHT (Celsius).
Returns 0 if there was a failure.
Read11 (Pin As Byte) As Int
Read value from DHT11 specified pin.
Returns 0 if there was a failure.
Read22 (Pin As Byte) As Int
Read value from DHT22 specified pin.
Returns 0 if there was a failure.
Top