Skip to content

Commit 90acf9d

Browse files
committed
Add support for the SHT85
Thanks to FStefanni for pointing this out
1 parent 285d982 commit 90acf9d

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

SHTSensor.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ bool SHTSensor::init(TwoWire & wire)
290290

291291
switch(mSensorType) {
292292
case SHT3X:
293+
case SHT85:
293294
mSensor = new SHT3xSensor(wire);
294295
break;
295296

SHTSensor.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ class SHTSensor
5353
// i2c Sensors:
5454
/** SHT3x-DIS with ADDR (sensor pin 2) connected to VSS (default) */
5555
SHT3X,
56+
SHT85,
5657
/** SHT3x-DIS with ADDR (sensor pin 2) connected to VDD */
5758
SHT3X_ALT,
5859
SHTC1,

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version=1.2.0
33
author=Johannes Winkelmann, Andreas Brauchli
44
maintainer=Johannes Winkelmann <jwi@sensirion.com>
55
sentence=Support for Sensirion's humidity and temperature sensors.
6-
paragraph=Supported sensors: SHTC1, SHTC3, SHTW1, SHTW2, SHT3x-DIS (I2C), SHT3x-ARP, SHT4x
6+
paragraph=Supported sensors: SHTC1, SHTC3, SHTW1, SHTW2, SHT3x-DIS (I2C), SHT85, SHT3x-ARP, SHT4x
77
category=Sensors
88
url=https://developer.sensirion.com
99
architectures=*

0 commit comments

Comments
 (0)