SHT3x driver (#53)

* SHT3x driver
This commit is contained in:
Anthony Elder
2019-05-12 15:11:15 +01:00
committed by Ron Evans
parent d22cf7a3e1
commit 5930c149d9
5 changed files with 113 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
package sht3x
// Constants/addresses used for I2C.
// The I2C address which this device listens to.
const (
AddressA = 0x44
AddressB = 0x45
)
const (
// single shot, high repeatability
MEASUREMENT_COMMAND_MSB = 0x24
MEASUREMENT_COMMAND_LSB = 0x00
)