Yfs201 Proteus Library Exclusive [better]
: Paste the .LIB and .MOD files into the Proteus 'LIBRARY' folder. Selection : Search for "YFS201" in the component pick list.
void setup() Serial.begin(9600); pinMode(2, INPUT_PULLUP); // Interrupt pin attachInterrupt(digitalPinToInterrupt(2), pulseCounter, FALLING); yfs201 proteus library exclusive
volatile int pulseCount = 0;
Navigate to your Proteus installation folder (usually C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\Data\LIBRARY ). Paste the .LIB and .IDX files into this folder. : Paste the