Closed MorpheusDe97 closed 5 years ago
Actually, the library doesn't use any of the Interrupts or Timers on the sending side. They are only utilised for receiving. Thus, I think your problem may be more fundamental.
There are no known issues with sending on the ESP32 platform, but ESP32 support is only new so there is a possibility you are the first to encounter it.
Re: https://github.com/markszabo/IRremoteESP8266/wiki/Troubleshooting-Guide#sending-an-ir-signal
irsend.begin()
before you send the first time etc.Chasing up on this. Any progress?
Another friendly chase up.
Hello, sorry for the late reply! Using a completely new Arduino project running just your example-code and adding the pwm-functions to it, everything works like a charm. Probably, there was any kind of different problem as I directly tried to embed your library into a quite big project. I'll dig a bit deeper into the topic, but currently, it seems like the issue I came across is not caused by your library! I'll keep you updated as soon as I know something new.
Phew! I'll mark this issue closed for now then. Thanks for getting back to me.
Version/revision of the library used
v2.6.3
Actual behavior
When I use the bare library, everything works as expected. But as soon, as I activate some hardware-based PWM on a completely other pin to dim a LED, this library does not work as expected anymore. The IR-LED just seems to light continuously.
Steps to reproduce the behavior
I have the following setup: ESP32 with
As soon, as I activate the PWM on Pins 18, 19 and 21 using
I can see the infrared LED sending continiously. I know that this library is timerInterrupt-based. But is there the possibility, or a known issue that there may appear unwanted interferences between using hardware-PWM and Infrared-sending?