YFS201 (YFS‑201) Proteus library — helpful feature:
Introduction to YFS201 Proteus Library
Key Features and Benefits
void setup() lcd.begin(16, 2); pinMode(2, INPUT_PULLUP); attachInterrupt(digitalPinToInterrupt(2), flow, RISING); sei(); // Enable interrupts current_time = millis(); cloop_time = current_time; lcd.print("Flow Meter Test"); yfs201 proteus library