mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-19 06:03:57 +00:00
dht20: add I2C driver for DHT20 temperature and humidity sensor
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
package dht20
|
||||
|
||||
// Constants/addresses used for I2C.
|
||||
|
||||
// The I2C address which this device listens to.
|
||||
const defaultAddress = 0x38
|
||||
Reference in New Issue
Block a user