2 Example for outlets which are configured with a 10 pole DIP switch.
4 https://github.com/sui77/rc-switch/
9 RCSwitch mySwitch = RCSwitch();
13 // Transmitter is connected to Arduino Pin #10
14 mySwitch.enableTransmit(10);
16 // Optional set pulse length.
17 // mySwitch.setPulseLength(320);
24 // The first parameter represents the setting of the first 5 DIP switches.
25 // In this example it's ON-ON-OFF-OFF-ON.
27 // The second parameter represents the setting of the last 5 DIP switches.
28 // In this example the last 5 DIP switches are OFF-ON-OFF-ON-OFF.
29 mySwitch.switchOn("11001", "01010");
35 mySwitch.switchOff("11001", "01010");
37 // Wait another second