+#include <Chrono.h>
+
+Chrono envoiMessage;
+
 #define input_water 1
-#define input_wind 2
+#define input_wind A1
 #define input_fire A0
 #define resistor 10000
 




SIGNAL(TIMER0_COMPA_vect) {
  uint8_t x = digitalRead(input_water);

  if (x == lastflowpinstate) {
    lastflowratetimer++;
    return; // nothing changed!
  }

  lastflowpinstate = x;
  flowrate = 1000.0;
  flowrate /= lastflowratetimer;  // in hertz
  lastflowratetimer = 0;
}



