add rc5 to ir #10

This commit is contained in:
1technophile committed 2017-03-08 21:32:09 +01:00
1 parent 7a7529bb69
commit bd73e666a4
1 file changed
+2
+2
View File
@@ -334,6 +334,8 @@ void receivingMQTT(char * topicOri, char * datacallback) {
irsend.sendSony(data, 12); irsend.sendSony(data, 12);
if (topic.lastIndexOf("IR_DISH")!=-1) if (topic.lastIndexOf("IR_DISH")!=-1)
irsend.sendDISH(data, 16); irsend.sendDISH(data, 16);
if (topic.lastIndexOf("IR_RC5")!=-1)
irsend.sendRC5(data, 12);
if (topic.lastIndexOf("IR_Sharp")!=-1) if (topic.lastIndexOf("IR_Sharp")!=-1)
irsend.sendSharpRaw(data, 15); irsend.sendSharpRaw(data, 15);
if (topic.lastIndexOf("IR_SAMSUNG")!=-1) if (topic.lastIndexOf("IR_SAMSUNG")!=-1)