Table of Contents

Class Dht11

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

Temperature and Humidity Sensor DHT11

public class Dht11 : DhtBase
Inheritance
Dht11
Inherited Members

Constructors

Dht11(int, PinNumberingScheme, GpioController?, bool)

Create a DHT11 sensor

public Dht11(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