Once placed in your schematic, you can simulate it just like real hardware:
You must download specific .LIB and .IDX files to add the 4-channel module to your component list. --- 4 Channel Relay Module Library For Proteus
// Relay 2 ON digitalWrite(2, LOW); digitalWrite(3, HIGH); delay(2000); // ... and so on Once placed in your schematic, you can simulate
Many users download the library, yet Proteus throws an error: "Unknown part name '4CH_RELAY'" . Once placed in your schematic