Merge pull request #2836 from adafruit/BlitzCityDIY-patch-1
Update SHT4x trinkey demo
This commit is contained in:
commit
f00ff213fd
1 changed files with 2 additions and 1 deletions
|
|
@ -8,7 +8,8 @@ import adafruit_sht4x
|
|||
|
||||
i2c = board.I2C() # uses board.SCL and board.SDA
|
||||
sht = adafruit_sht4x.SHT4x(i2c)
|
||||
print("Found SHT4x with serial number", hex(sht.serial_number))
|
||||
# overflow issue with sht41, not present with sht45
|
||||
# print("Found SHT4x with serial number", hex(sht.serial_number))
|
||||
|
||||
sht.mode = adafruit_sht4x.Mode.NOHEAT_HIGHPRECISION
|
||||
print("Current mode is: ", adafruit_sht4x.Mode.string[sht.mode])
|
||||
|
|
|
|||
Loading…
Reference in a new issue