2024-10-0100

This commit is contained in:
hans-jurgen 2024-10-01 21:14:05 +02:00
parent 13f9f2318c
commit 68a61690bf
3 changed files with 5 additions and 3 deletions

View File

@ -9,7 +9,7 @@
//---------------------------------------------------------------- //----------------------------------------------------------------
#include "Adafruit_Sensor.h" #include "Adafruit_Sensor.h"
#include "Adafruit_BME280.h" #include "Adafruit_BME280.h"
uint8_t BME280_adresse[2] = {0x76, 0x77}; uint8_t BME280_adresse[2] = {0x76, 0x76};
#define SEALEVELPRESSURE_HPA (1013.25f) #define SEALEVELPRESSURE_HPA (1013.25f)
//---------------------------------------------------------------- //----------------------------------------------------------------

View File

@ -23,7 +23,7 @@ struct {
void Init_BMP280(){ void Init_BMP280(){
bool status = bmp.begin(0x76); bool status = bmp.begin();
F_BMP280 = true; F_BMP280 = true;
if (!status) { if (!status) {
Serial.println("Could not find a valid BME280 sensor, check wiring!"); Serial.println("Could not find a valid BME280 sensor, check wiring!");

View File

@ -24,8 +24,10 @@ lib_deps =
adafruit/Adafruit MCP9808 Library @ 2.0.0 adafruit/Adafruit MCP9808 Library @ 2.0.0
adafruit/Adafruit BusIO @ 1.16.1 adafruit/Adafruit BusIO @ 1.16.1
adafruit/Adafruit BME280 Library @ 2.2.4 adafruit/Adafruit BME280 Library @ 2.2.4
adafruit/Adafruit BMP280 Library @ 2.6.8
adafruit/Adafruit Unified Sensor @ 1.1.14 adafruit/Adafruit Unified Sensor @ 1.1.14
build_flags = build_flags =
-DTEMPTEST33=1 -DTEMPTEST33=1
-DNOBATT=0 -DNOBATT=0
@ -47,7 +49,7 @@ build_flags = ${env.build_flags}
-Dmqtt_port=61883 -Dmqtt_port=61883
-DTERROR=5 -DTERROR=5
-DTLOWBATT=60 -DTLOWBATT=60
-DTINTERVAL=1 -DTINTERVAL=10
-DKorrekturLuftdruck=22.58 -DKorrekturLuftdruck=22.58
[env:marcel] ; Produktivsystem: [env:marcel] ; Produktivsystem: