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
Using IRremote and Adafruit_NeoPixel to change LED color and brightness
IRremote pin = IO4
WS2812 LED pin = IO0
What happens?
After the board is turned on, as soon as the LED lights up (Adafruit_NeoPixel::show() ), the board will restart Note: There is no problem if ESP32 Arduino Core 3.13 is used
Decoding stack results
0x40082b90: panic_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_system/panic.c line 54
0x4008f6e1: esp_system_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_system/port/esp_system_chip.c line 87
0x40095b09: assert_func at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/newlib/assert.c line 80
0x40092642: vTaskPriorityDisinheritAfterTimeout at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/FreeRTOS-Kernel/tasks.c line 5267
0x4008ff57: xQueueSemaphoreTake at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c line 1842
0x400eb7ba: espShow at d:\Sketchbook\Arduino\libraries\Adafruit_NeoPixel\esp.c line 52
0x400eb6ff: Adafruit_NeoPixel::show() at d:\Sketchbook\Arduino\libraries\Adafruit_NeoPixel\Adafruit_NeoPixel.cpp line 3176
0x400e5cd3: OneLEDpx_state(LEDpx_State, unsigned char, LEDpx_color_t, unsigned char, LEDpx_color_t, unsigned char) at d:\Sketchbook\Arduino\libraries\SHNlibs\LPXutil.cpp line 509
0x400e452a: Initial() at F:\Electronic\SAAT co!_2025\T24M22h/T24M22h.ino line 413
0x400e454b: setup() at F:\Electronic\SAAT co!_2025\T24M22h/T24M22h.ino line 56
0x400f6ec7: loopTask(void*) at C:\Users\SAATco\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.2.0\cores\esp32\main.cpp line 59
0x40090366: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c line 139
The text was updated successfully, but these errors were encountered:
Nourbakhsh-Rad
changed the title
[Bug]: When using IRremote and Adafruit_NeoPixel together, the app crashes
[Bug]: When using IRremote and Adafruit_NeoPixel together [ESP32 Arduino Core 3.2.0], the app crashes
Apr 27, 2025
IRremote and Adafruit_NeoPixel work fine on their own
This problem occurs when the Adafruit_NeoPixel 'show()' function is called
This problem occurs when using ESP32 Arduino core 3.2.0 and does not exist in lower versions
The problem may be with the ESP32 Arduino core or Adafruit_NeoPixel library....
The type of board you are using.
ESP32 Devkitc V4
What IDE are you using?
Arduino IDE
What IR protocol are you using?
NEC
Pin(s) used for IR-receive, if not default.
Arduino pin number: IO4
The library version you are working with.
I use the latest Arduino library version 4.4.1 and verified this!
What are the steps to reproduce this issue?
What happens?
After the board is turned on, as soon as the LED lights up (Adafruit_NeoPixel::show() ), the board will restart
Note: There is no problem if ESP32 Arduino Core 3.13 is used
Decoding stack results
0x40082b90: panic_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_system/panic.c line 54
0x4008f6e1: esp_system_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_system/port/esp_system_chip.c line 87
0x40095b09: assert_func at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/newlib/assert.c line 80
0x40092642: vTaskPriorityDisinheritAfterTimeout at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/FreeRTOS-Kernel/tasks.c line 5267
0x4008ff57: xQueueSemaphoreTake at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c line 1842
0x400eb7ba: espShow at d:\Sketchbook\Arduino\libraries\Adafruit_NeoPixel\esp.c line 52
0x400eb6ff: Adafruit_NeoPixel::show() at d:\Sketchbook\Arduino\libraries\Adafruit_NeoPixel\Adafruit_NeoPixel.cpp line 3176
0x400e5cd3: OneLEDpx_state(LEDpx_State, unsigned char, LEDpx_color_t, unsigned char, LEDpx_color_t, unsigned char) at d:\Sketchbook\Arduino\libraries\SHNlibs\LPXutil.cpp line 509
0x400e452a: Initial() at F:\Electronic\SAAT co!_2025\T24M22h/T24M22h.ino line 413
0x400e454b: setup() at F:\Electronic\SAAT co!_2025\T24M22h/T24M22h.ino line 56
0x400f6ec7: loopTask(void*) at C:\Users\SAATco\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.2.0\cores\esp32\main.cpp line 59
0x40090366: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c line 139
The text was updated successfully, but these errors were encountered: