 
 void pointerChanged()
 {
+  Serial.println(F("[loop] *** Time frame changed ***"));
+
+  Serial.print(F("[data] Last minute: "));
+  Serial.print(storageSum(1)*1.25);
+  Serial.println(F(" Wh"));
+
+  Serial.print(F("[data] Last 2 minutes:"));
+  Serial.print(storageSum(2)*1.25);
+  Serial.println(F(" Wh"));
+
+  Serial.print(F("[data] Last 5 minutes: "));
+  Serial.print(storageSum(5)*1.25);
+  Serial.println(F(" Wh"));
+
+  Serial.print(F("[data] Currently connected: "));
+  Serial.print(currentWatts);
+  Serial.println(F(" Watt"));
+
   #ifdef USE_NETWORK
     push();
   #endif
-
-  Serial.println(F("[loop] *** Time frame changed ***"));
-
-  Serial.print(F("[data] Last 30 seconds: "));
-  Serial.println(storageSum(1));
-
-  Serial.print(F("[data] Last 60 seconds: "));
-  Serial.println(storageSum(2));
-
-  Serial.print(F("[data] Last 5 minutes: "));
-  Serial.println(storageSum(20));
-
-  Serial.print(F("[data] Currently connected: "));
-  Serial.print(lastWatts);
-  Serial.println(F(" Watt"));
 }
 
 void push()

  Serial.println(F("*** StromBewusst - Arduino FW ***"));

  // Attach an interrupt
  attachInterrupt(TRIGGER_INT, gotSignal, RISING);

  #ifdef USE_NETWORK
    pinMode(4, OUTPUT);     // SD select pin

}
#endif

// Set the volatile flag to handle the signal in the next loop run
void handleSignal()
{
  gotSignal = true;
}

void processSignal()
{
  unsigned long now = millis();
  currentWatts = 4500000 / (now-lastSignal);
  lastSignal = now;
  signals++;
}

void pointerLoop()
{
