Skip to main content
2 of 3
added 49 characters in body
user_fs10
  • 187
  • 1
  • 14

This will be helpful.

reading is your flow meter value in L/Hour

float reading;//value of the flow meter
long startTime;

void setup() {
  Serial.begin(9600);
  startTime=millis();

}

void loop() {
//read your flow meter to reading variable.
 Serial.println(reading*float((millis()-startTime))/3600000.0);

}
user_fs10
  • 187
  • 1
  • 14