diff --git a/src/TTGO_T-Beam_LoRa_APRS.ino b/src/TTGO_T-Beam_LoRa_APRS.ino index e606238..bb8bcd0 100644 --- a/src/TTGO_T-Beam_LoRa_APRS.ino +++ b/src/TTGO_T-Beam_LoRa_APRS.ino @@ -849,7 +849,7 @@ switch(tracker_mode) { #else #ifdef USE_BME280 bme.takeForcedMeasurement(); - temp = bme.readTemperature(); + tempf = bme.readTemperature(); hum = bme.readHumidity(); #else hum = dht.getHumidity(); @@ -888,7 +888,7 @@ switch(tracker_mode) { helper = String(hum,0); helper.trim(); outString += helper; - outString += "b......DHT22"; + outString += "b......"; outString += MY_COMMENT; break; case WX_TRACKER: @@ -900,7 +900,7 @@ switch(tracker_mode) { #else #ifdef USE_BME280 bme.takeForcedMeasurement(); - temp = bme.readTemperature(); // bme Temperatur auslesen + tempf = bme.readTemperature(); // bme Temperatur auslesen hum = bme.readHumidity(); #else hum = dht.getHumidity(); @@ -964,7 +964,7 @@ switch(tracker_mode) { helper = String(hum,0); helper.trim(); outString += helper; - outString += "b......DHT22"; + outString += "b......"; outString += MY_COMMENT; wx = !wx; } else { @@ -1028,7 +1028,7 @@ case WX_MOVE: #else #ifdef USE_BME280 bme.takeForcedMeasurement(); - temp = bme.readTemperature(); // bme Temperatur auslesen + tempf = bme.readTemperature(); // bme Temperatur auslesen hum = bme.readHumidity(); #else hum = dht.getHumidity(); @@ -1094,7 +1094,7 @@ case WX_MOVE: helper = String(hum,0); helper.trim(); outString += helper; - outString += "b......DHT22"; + outString += "b......"; outString += MY_COMMENT; break; case TRACKER: diff --git a/src/TTGO_T-Beam_LoRa_APRS_config.h b/src/TTGO_T-Beam_LoRa_APRS_config.h index 17dbe43..9167cf8 100644 --- a/src/TTGO_T-Beam_LoRa_APRS_config.h +++ b/src/TTGO_T-Beam_LoRa_APRS_config.h @@ -35,7 +35,7 @@ // SET temperature sensor type // #define DS18B20 // use this if you use DS18B20, default is DHT22 -// #define USE_BME280 // use this if you use BME280,m default is BDHT22 +#define USE_BME280 // use this if you use BME280,m default is DHT22 // USER DATA - USE THESE LINES TO MODIFY YOUR PREFERENCES // IF NOT CHANGED you have to go through the configuration routine at first boot up of the TTGO T-Beam