   pinMode(RELAY1_2, OUTPUT);
   pinMode(RELAY1_3, OUTPUT);
 
+  // pin mode for flow meter 
+  pinMode(HEAT_FLOW_SENSOR, INPUT);
+  pinMode(PIPE_FLOW_SENSOR, INPUT);
 
   
   // keep valves closed at setup


void setup(void)
{

  //  Serial.begin(9600);      // open the serial port at 9600 bps:    


  // 1-wire devices temperature


void timerIsr()
{ 
  interruptTemperature(); // get temperature data and request measure
  
   // Serial.print("*** at timer\n");

  
  loop_water_flow(&input_heat);
  loop_water_flow(&input_pipe);
