mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-19 14:14:00 +00:00
shtc3: Sensirion SHTC3 Relative Humidity / Temperature i2c sensor
This commit is contained in:
committed by
Ron Evans
parent
121e8147f7
commit
025a66655f
@@ -0,0 +1,11 @@
|
||||
package shtc3
|
||||
|
||||
// Constants used for I2C.
|
||||
|
||||
const (
|
||||
SHTC3_ADDRESS = 0x70
|
||||
SHTC3_CMD_WAKEUP = "\x35\x17" // Wake up
|
||||
SHTC3_CMD_MEASURE_HP = "\x7C\xA2" // Read sensor in high power mode with clock stretching
|
||||
SHTC3_CMD_SLEEP = "\xB0\x98" // Sleep
|
||||
SHTC3_CMD_SOFT_RESET = "\x80\x5D" // Soft Reset
|
||||
)
|
||||
Reference in New Issue
Block a user