From 2379a43b212aa04778f913bb01fda8658b1acd1f Mon Sep 17 00:00:00 2001 From: Fisch Date: Wed, 8 Feb 2023 18:59:15 +0100 Subject: [PATCH] change sensoresp7 humidity temperature sensor to sht31 --- platformio.ini | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/platformio.ini b/platformio.ini index e9949c1..75e964d 100644 --- a/platformio.ini +++ b/platformio.ini @@ -317,6 +317,14 @@ build_flags = -D SENSOR_VL53L1X_minchange=200 -D SENSOR_VL53L1X_senddelaymax=1000*30 -D SENSOR_VL53L1X_readdelay=250 + + + -D SENSOR_SHT31 + -D SENSOR_SHT31_temperature_minchange=0.3 + -D SENSOR_SHT31_temperature_senddelaymax=1000*60*60 + -D SENSOR_SHT31_humidity_minchange=1.0 + -D SENSOR_SHT31_humidity_senddelaymax=1000*60*60 + lib_deps = @@ -324,6 +332,8 @@ lib_deps = ArduinoJson@6.16.1 marvinroger/Homie @ ^3.0.1 pololu/VL53L1X @ ^1.3.0 + adafruit/Adafruit SHT31 Library@^2.2.0 + SPI #3D Printer