 
 // interrupt counter is not bound very elegantly to
 // cntArr, I think about this later.
-volatile unsigned int _kwCounter = 0;   // counter for the number of interrupts
+int volatile *_counters;
+
 
 IPAddress ip(192,168,1,177);
 IPAddress gateway(192,168,1, 1);

  refreshEvents();
}

void elmeter()
{
  _kwCounter++;
}

void processSensors()



struct cnt {
  unsigned int irqno;
  char *name;
  int flags;
  time_t last_send;
  long avg_counter;
  int avg_samples;
  void (* irqh)(void);
  struct dig2a prev;
  struct dig2a prevsnd;
  struct dig2a diff;
