I found the trick. It now works. First the sketch:
#include <RCSwitch.h>
RCSwitch mySwitch = RCSwitch();
void setup() {
Serial.begin(9600);
// Transmitter is connected to Arduino Pin #10
mySwitch.enableTransmit(10);
mySwitch.setPulseLength(800);
// mySwitch.setProtocol(2); // ** DO NOT define a Protocol** if u do it will override the setPulseLength of 800
}
void loop() {
mySwitch.send(13380, 15); // turn on CH 'A' device 1
delay(2000);
mySwitch.send(13348, 15); // turn off CH 'A' device 1
delay(2000);
mySwitch.send(13332, 15); // turn on CH 'A' device 2
delay(2000);
mySwitch.send(13324, 15); // turn off CH 'A' device 2
delay(2000);
mySwitch.send(13444, 15); // turn on CH 'A' device 3
delay(2000);
mySwitch.send(13572, 15); // turn off CH 'A' device 3
delay(2000);
mySwitch.send(13393, 15); // turn on CH 'C' device 1
delay(2000);
mySwitch.send(13345, 15); // turn off CH 'C' device 1
delay(2000);
mySwitch.send(13329, 15); // turn on CH 'C' device 2
delay(2000);
mySwitch.send(13321, 15); // turn off CH 'C' device 2
delay(2000);
mySwitch.send(13441, 15); // turn on CH 'C' device 3
delay(2000);
mySwitch.send(13569, 15); // turn off CH 'C' device 3
delay(2000);
}