 
 // only needed when measuring temperature time series values
 #define SEND_TEMP_VALUES_TO_HOST true
-#define SEND_TO_HOST_INTERVALL_IN_MILLIS 1000
+#define SEND_TO_HOST_INTERVALL_IN_MILLIS 6000
 
 #define SENSOR_1_TEMP_THRESHOLD_in_CELCIUS 40.0
+#define SENSOR_2_TEMP_THRESHOLD_in_CELCIUS 37.0
 
 /***************************************************************/
 
 #define RING_BUFFER_SIZE 10
 #define INVALID_VALUE -273.0
-#define AVERAGE_INTERVAL_IN_MILLIS 60*1000 // e.g. one minute = 60*1000
+#define AVERAGE_INTERVAL_IN_MILLIS 60000 // e.g. one minute = 60000
 
 /***************************************************************/
 


void sendValuesToHost() {
    unsigned long currentMillis = millis();
    if ((currentMillis - lastSend) > SEND_TO_HOST_INTERVALL_IN_MILLIS) {
        lastSend = currentMillis;

        Serial.print("(1) ");
        Serial.print(averageValues(&tempRingBuf_1), 1);
        Serial.println("Grad Celsius");

        Serial.print("(2) ");
        Serial.print(averageValues(&tempRingBuf_2), 1);
        Serial.println("Grad Celsius");

        Serial.println("");
    }
}

void setup() {


TemperatureRingBuffer tempRingBuf_1;
TemperatureRingBuffer tempRingBuf_2;
unsigned long lastSendMillis = 0;
unsigned long lastRecordedMillis = 0;

/**************************************************************/

