Yfs201 Proteus Library ((link)) -

Copy the downloaded YFS201.LIB and YFS201.IDX files into the LIBRARY folder.

"Classic," he muttered. He knew the drill. The YF-S201 wasn't a standard part; it was a ghost in the machine that he’d have to summon himself. The Search for the Files yfs201 proteus library

If you want it to look like a flow sensor on the schematic: Copy the downloaded YFS201

in standard Proteus libraries. The YFS201 is a physical sensor (commonly used with Arduino for water flow measurement), not a standard simulation model included with Proteus. // Enable interrupts current_time = millis()

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");