   float analog;
 };
 
+struct variable {
+  char *name;
+  float value;
+};
+
 struct ad {
   int port;
   char *name;

void irqh1()
{
  _counters[1]++;
}

void processSensors()

  time_t last_change;
};

#define METHOD_TURNON      1
#define METHOD_CHANGELIMIT 2

// simple conditions for operations
struct condition {
  int id;
  struct ad *source;
  struct variable *limit;
  struct variable *limit2;
  void *target;
  int method;
};


struct variable variables[]= {
  {"boilTemp",      24.5},
  {"boilHysteresis", 1.5},
  {"boilReduced",   24.0},
  {"hhboil",        25.0},
  {"radiatorTemp",  20.0}
};

struct variable *origVariables;

// in future this table shall be stored mainly in eeprom.
// and so is it's size
