#include "Cloud_PLC.h" // This line includes the necessary library for using Cloud PLC functions. void setup() { Cloud_PLC_initialisation(); } void loop() { Cloud_PLC_Relay_state(0, HIGH); //Relay channel, State is HIGH delay(1000); Cloud_PLC_Relay_state(0, LOW); // Relay is OFF delay(1000); Cloud_PLC_Relay_state(1, HIGH); // Relay is ON delay(1000); Cloud_PLC_Relay_state(1, LOW); // Relay is OFF delay(1000); }