dht: fix humidity and temperature extraction for DHT22 (#358)

This commit is contained in:
Donia Chaiehloudj
2022-02-26 14:15:30 +01:00
committed by Ron Evans
parent 45dce188f5
commit 02e4548966
7 changed files with 104 additions and 29 deletions
+3
View File
@@ -1,3 +1,6 @@
//go:build tinygo
// +build tinygo
// Package dht provides a driver for DHTXX family temperature and humidity sensors.
//
// [1] Datasheet DHT11: https://www.mouser.com/datasheet/2/758/DHT11-Technical-Data-Sheet-Translated-Version-1143054.pdf