DHTXX driver (#235)

dhtXX: add new driver for dht thermometer
This commit is contained in:
pleomaxx3002
2021-03-05 09:24:45 +01:00
committed by GitHub
parent d170ec8d81
commit 9a7cb1a22f
9 changed files with 561 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
// +build mimxrt1062 stm32f405 atsamd51 stm32f103xx k210 stm32f407
package dht // import "tinygo.org/x/drivers/dht"
// This file provides a definition of the counter for boards with frequency higher than 2^8 ticks per millisecond (>64MHz)
type counter uint32