Yfs201 | Proteus Library
// Frequency = pulses per second float freq = pulseCount; flowRate = freq / 7.5; // L/min totalLiters += flowRate / 60.0; // liters added this second
void pulseCounter() pulseCount++;
lcd.setCursor(0, 0); lcd.print("Flow: "); lcd.print(flowRate); lcd.print(" L/min "); yfs201 proteus library