1 parent
13d003f8b5
commit
515da1362a
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -247,7 +247,7 @@ void MQTTtoIR(char * topicOri, char * datacallback) {
|
||||
#endif
|
||||
#ifdef IR_PANASONIC
|
||||
if (strstr(topicOri, "IR_PANASONIC") != NULL){
|
||||
if (valueBITS == 0) valueBITS = 16;
|
||||
if (valueBITS == 0) valueBITS = PanasonicBits;
|
||||
if (valueRPT == 0) valueRPT = 2;
|
||||
irsend.sendPanasonic(PanasonicAddress, data, valueBITS, valueRPT);
|
||||
signalSent = true;
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
|
||||
#define pubIRunknownPrtcl false // key to avoid mqtt publication of unknown IR protocol (set to true if you want to publish unknown protocol)
|
||||
#define PanasonicAddress 0x4004 // Panasonic address (Pre data)
|
||||
#define PanasonicBits 48U // Panasonic nr of bits (Pre data)
|
||||
|
||||
#ifdef ESP8266 //IR supported protocols on ESP8266, all supported per default
|
||||
#define IR_GC
|
||||
|
||||
Reference in new issue
Block a user