You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually it is not a Bug. I compiled and tested IRrecvDumpV2 example on my hardware successfully but when merge it to my program don't work any way. However, I copied sketch of IRrecvDumpV2 to my sketch (no merge, now IRrecvDumpV2 and my program execute In parallel) but don't work too.
I want to know there is any well known interfere with other libraries or core features of Arduino?
I am using following libraries :
dancol90/ESP8266Ping@^1.0
knolleary/PubSubClient@^2.8
bblanchon/ArduinoJson@^6.18.0
And using following features (Internal libraries) :
Ticker
The Ticker library and IRrecv class both use the sole timer on the ESP8266. (Note: The ESP32 has four.) Thus, you can't have IRrecv and Tickerenabled at the exact same time. You'd have to juggle enabling/disabling each appropriately yourself to share the single hardware resource.
If your project can't accommodate that level of resource sharing, then these libraries and the ESP8266 are not for you. I strongly suggest you upgrade to the ESP32 which has multiple timers. This library supports them.
Before anyone asks: Q: Can you modify the library to use Ticker so it works? A: It is technically possible, but this library controls the timer from inside an Interrupt handler. Thus all the code needs to be in IRAM (a VERY limited resource). The ticker library is not designed to be run from inside an Interrupt, and would use up to much IRAM, hence the answer is No, it won't be implemented.
Version/revision of the library used
2.7.19
Board
ESP8266
Describe the bug
Actually it is not a Bug. I compiled and tested IRrecvDumpV2 example on my hardware successfully but when merge it to my program don't work any way. However, I copied sketch of IRrecvDumpV2 to my sketch (no merge, now IRrecvDumpV2 and my program execute In parallel) but don't work too.
I want to know there is any well known interfere with other libraries or core features of Arduino?
I am using following libraries :
dancol90/ESP8266Ping@^1.0
knolleary/PubSubClient@^2.8
bblanchon/ArduinoJson@^6.18.0
And using following features (Internal libraries) :
Ticker
Thanks
I have followed the steps in the Troubleshooting Guide & read the FAQ
_Yes
The text was updated successfully, but these errors were encountered: