Arduino compatibility for HM10

#19
This commit is contained in:
1technophile committed 2017-05-06 23:07:24 +02:00
1 parent d63636bf31
commit c0879e8d22
3 files changed
+13 -7

No files matched your search

+4 -5
View File
@@ -107,7 +107,7 @@ RF supported protocols
#define pubIRunknownPrtcl false // key to avoid mqtt publication of unknown IR protocol (set to true if you want to publish unknown protocol)
#ifdef ESP8266 //IR supported protocols on ESP8266, all supported per default
#define IR_Raw
#define IR_GC
#define IR_COOLIX
#define IR_Whynter
#define IR_LG
@@ -117,7 +117,6 @@ RF supported protocols
#define IR_Sharp
#define IR_SAMSUNG
#else //IR supported protocols on arduino uncomment if you want to send with this protocol, NEC protocol is available per default
//#define IR_Raw
//#define IR_COOLIX
//#define IR_Whynter
//#define IR_LG
@@ -125,7 +124,7 @@ RF supported protocols
//#define IR_DISH
//#define IR_RC5
//#define IR_Sharp
#define IR_SAMSUNG
//#define IR_SAMSUNG
#endif
/*----------------------BT topics-------------------------*/
@@ -145,8 +144,8 @@ RF supported protocols
//IMPORTANT NOTE: On arduino UNO connect IR emitter pin to D9 , comment #define IR_USE_TIMER2 and uncomment #define IR_USE_TIMER1 on library <library>IRremote/IRremoteInt.h so as to free pin D3 for RF RECEIVER PIN
//RF PIN definition
#define RF_RECEIVER_PIN 1 // 1 = D3 on arduino
#define BT_RX 10
#define BT_TX 11
#define BT_RX 5
#define BT_TX 6
#endif
//RF number of signal repetition
#define RF_EMITTER_REPEAT 20