2 Example for REV outlets (e.g. 8342L)
4 https://github.com/sui77/rc-switch/
6 Need help? http://forum.ardumote.com
11 RCSwitch mySwitch = RCSwitch();
15 // Transmitter is connected to Arduino Pin #10
16 mySwitch.enableTransmit(10);
19 mySwitch.setPulseLength(360);
26 // The first parameter represents the channel (a, b, c, d)
27 // The second parameter represents the device number
29 // In this example it's family 'd', device #2
30 mySwitch.switchOn('d', 2);
36 mySwitch.switchOff('d', 2);
38 // Wait another second