2024-09-2700

This commit is contained in:
hans-jurgen 2024-09-28 16:20:38 +02:00
parent 5bea8a527d
commit c255826199
4 changed files with 9 additions and 6 deletions

View File

@ -2,7 +2,7 @@
ADC_MODE(ADC_VDD);
const float MinimalSpannung = 2.85;
const float MinimalSpannung = 2.60;
float korectur = 0.000913242;
char floatString[15] = {0};
float AKKU;

View File

@ -1,6 +1,7 @@
#include <Arduino.h>
const float MinimalSpannung = 2.85;
//const float MinimalSpannung = 2.85;
const float MinimalSpannung = 2.00;
float korectur = 0.8870;
char floatString[15] = {0};
float AKKU;

View File

@ -19,11 +19,13 @@ void init_HTU21(){
Serial.println("Couldn't find sensor HUT21D!");
SystemStatus = SystemStatus | HTU21noReady;
}
}else{
F_HTU_21D = true;
Serial.println("HUT21D gefunden");
}
}
void read_HTU21D() {
float t = htu.readTemperature();
t = t + K_HTU;

View File

@ -37,12 +37,12 @@ build_flags =
build_flags = ${env.build_flags}
-DDEBUG=0
-DNOADS=0
-DNAME=\"WETTERSTATION\"
-DNAME=\"WETTERSTATION2\"
-DSTASSID=\"MagentaWLAN-RGDO\"
-DSTAPSK=\"93329248424922704583\"
-DGATEWAY=\"192.168.127.1\"
-DDNS=\"192.168.127.1\"
-DKMYIP=\"192.168.127.40\"
-DKMYIP=\"192.168.127.45\"
-Dmqtt_server=\"hjkmqtt.dedyn.io\"
-Dmqtt_port=61883
-DTERROR=5