Table of Contents

Class Dht22

Namespace
Iot.Device.DHTxx
Assembly
Iot.Device.Dhtxx.dll

Temperature and Humidity Sensor DHT22

public class Dht22 : DhtBase
Inheritance
Dht22
Inherited Members

Constructors

Dht22(int, PinNumberingScheme, GpioController?, bool)

Create a DHT22 sensor

public Dht22(int pin, PinNumberingScheme pinNumberingScheme = PinNumberingScheme.Logical, GpioController? gpioController = null, bool shouldDispose = true)

Parameters

pin int

The pin number (GPIO number)

pinNumberingScheme PinNumberingScheme

The GPIO pin numbering scheme

gpioController GpioController

GpioController related with operations on pins

shouldDispose bool

True to dispose the Gpio Controller