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 deadprogram
parent b9a70aeb6f
commit ee44900c25
9 changed files with 559 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
// +build arduino atmega1284p nrf52840 digispark nrf52 arduino_nano nrf51 atsamd21 fe310 arduino_nano33 circuitplay_express arduino_mega2560
package dht // import "tinygo.org/x/drivers/dht"
// This file provides a definition of the counter for boards with frequency lower than 2^8 ticks per millisecond (<64MHz)
type counter uint16