Code: Select all
// CHANNEL0 - TWO RELAYS (Roller shutter operation)
SuplaDevice.addRollerShutterRelays(02, //Pin number where the 1st relay is connected
04, HIGH); //Pin number where the 2nd relay is connected
SuplaDevice.setRollerShutterButtons(0, // 0 - Channel Number
12, // Pin where the 1st button is connected
13); // Pin where the 2nd button is connected
