dht20: add I2C driver for DHT20 temperature and humidity sensor

This commit is contained in:
sago35
2024-07-13 10:12:57 +09:00
parent ee3842f639
commit 315dbef694
4 changed files with 146 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
package dht20
// Constants/addresses used for I2C.
// The I2C address which this device listens to.
const defaultAddress = 0x38