Closed sej7278 closed 3 years ago
Thanks a lot for opening the issue and the stacktrace. 🥇 The first was a bug, and your P.S. pointed to a design flaw, I corrected. I built a new release including this bugfix.
excellent thanks, 3.2.2 works well now - i just made the volume go up on my tv using the code i had read using the library!
next to make a read+write ir "proxy" with a tft display and webserver with a proper pcb and 3d printed case.
Interesting project! Please send me some pictures if you are finished. And maybe I can put a link to it in the readme.
i certainly will, might be a while yet though ;-)
I can't seem to get sending to work on ESP32's - either my own sketch or the SimpleSender.ino example.
Software: Arduino IDE 1.8.13 and arduino-cli 0.13, using esp32 devkit board definition:
fqbn=esp32:esp32:esp32:PSRAM=disabled,PartitionScheme=default,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none
Hardware: TTGO T Display and TTGO T7 mini.
It crashes as soon as you call
irsnd_send_data(&irsnd_data, false);
According to EspExceptionDecoder this translates to:
Line 87 of the sketch is is
irsnd_send_data(&irsnd_data, false);
Even tried 3.2.1 from git and it made no difference.
Receiving works excellently thanks (something that never worked with IRRemote!)
P.S. the ESP32 cores don't seem to define
LED_BUILTIN
so the sketches won't compile even if you setirmp_irsnd_LEDFeedback(false);
until you define it in your sketch, that's probably more a bug with the cores, but it may be useful to have a default define or ignore if feedback is false in your lib?