Skip to content

Commit f00ff21

Browse files
authored
Merge pull request #2836 from adafruit/BlitzCityDIY-patch-1
Update SHT4x trinkey demo
2 parents 53dacbb + bb67c12 commit f00ff21

File tree

1 file changed

+2
-1
lines changed
  • SHT4x_Trinkey_Demos/CircuitPython/sht4x_temp_humidity

1 file changed

+2
-1
lines changed

SHT4x_Trinkey_Demos/CircuitPython/sht4x_temp_humidity/code.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88

99
i2c = board.I2C() # uses board.SCL and board.SDA
1010
sht = adafruit_sht4x.SHT4x(i2c)
11-
print("Found SHT4x with serial number", hex(sht.serial_number))
11+
# overflow issue with sht41, not present with sht45
12+
# print("Found SHT4x with serial number", hex(sht.serial_number))
1213

1314
sht.mode = adafruit_sht4x.Mode.NOHEAT_HIGHPRECISION
1415
print("Current mode is: ", adafruit_sht4x.Mode.string[sht.mode])

0 commit comments

Comments
 (0)