Esp32 compatibility (#145)
* esp32 init * RF gateway ok with ESP32 * correct IR gateway compilation errors and test RF2 ok * divide config per board type * update test file according user_config * differentiate variable type following IR libraries aka platforms * implement BLE beacons detection with ESP32 * Implement multitasking on BLE gateway * Library add and change core assignement * change core assignement for BLE * add mi flora value readings with ESP32 * adding some traces and removing unecessary comment * correct compilation error due to pin assignement * correct temperature float value and wrong mac adress rssi publishing * add esp32 to CI * correct esp32 ide retrieving * correcting paths * CI: correct architecture * libraries update (irremote) and overwrite ble library files
This commit is contained in:
1 parent
15cea6b222
commit
7c6e0ccf61
19 files changed
+319
-101
No files matched your search
+3
-1
@@ -64,6 +64,9 @@ RF supported protocols
|
||||
#ifdef ESP8266
|
||||
#define RF_RECEIVER_PIN 0 // D3 on nodemcu
|
||||
#define RF_EMITTER_PIN 3 // RX on nodemcu
|
||||
#elif defined(ESP32)
|
||||
#define RF_RECEIVER_PIN 13 // D13 on DOIT ESP32
|
||||
#define RF_EMITTER_PIN 12 // D12 on DOIT ESP32
|
||||
#else
|
||||
//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
|
||||
@@ -71,4 +74,3 @@ RF supported protocols
|
||||
#define RF_EMITTER_PIN 4 //4 = D4 on arduino
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user