This commit is contained in:
brentru 2022-09-21 13:17:46 -04:00
parent bf591442db
commit 454d747d6d
3 changed files with 7 additions and 7 deletions

View file

@ -29,8 +29,8 @@
#include "drivers/WipperSnapper_I2C_Driver_PM25.h"
#include "drivers/WipperSnapper_I2C_Driver_SCD30.h"
#include "drivers/WipperSnapper_I2C_Driver_SCD40.h"
#include "drivers/WipperSnapper_I2C_Driver_SHT4X.h"
#include "drivers/WipperSnapper_I2C_Driver_SHT3X.h"
#include "drivers/WipperSnapper_I2C_Driver_SHT4X.h"
#include "drivers/WipperSnapper_I2C_Driver_SI7021.h"
#include "drivers/WipperSnapper_I2C_Driver_STEMMA_Soil_Sensor.h"
#include "drivers/WipperSnapper_I2C_Driver_TSL2591.h"

View file

@ -52,7 +52,7 @@ public:
*/
/*******************************************************************************/
bool begin() {
if(_sensorAddress==0x44) // if address 0x44 (dec:68), alternative = 0x45
if (_sensorAddress == 0x44) // if address 0x44 (dec:68), alternative = 0x45
_sht3x = new SHTSensor(SHTSensor::SHT3X);
else
_sht3x = new SHTSensor(SHTSensor::SHT3X_ALT);