Hi,
I am attempting to use a RGB LED WS2812 with a ESP32 devkit, It wont compile and I get the following warning:
#warning "esp_event_loop.h is deprecated, please include esp_event.h instead"
this is followed by lots more (I am assuming they are relating to the original warning), I have attached the whole log if you need it
Thanks
esp_event_loop.h is deprecated
-
- Posts: 7
- http://meble-kuchenne.info.pl
- Joined: Sat Dec 05, 2020 11:31 pm
-
- Valued Contributor
- Posts: 447
- Joined: Mon Dec 07, 2020 1:00 pm
- Has thanked: 81 times
- Been thanked: 243 times
Re: esp_event_loop.h is deprecated
Hi
The deprecated warning message is not a problem.
Looks like the issue might be to do with the WS2812 component.
Could you post your project file to help identify the issue?
btw. If the RGB LED WS2812 requires accurate IO timing, the ESP32 RTOS based devices might not be the ideal candidate.
We are looking at methods of improving this situation on ESP, but it might take some time.
The deprecated warning message is not a problem.
Looks like the issue might be to do with the WS2812 component.
Could you post your project file to help identify the issue?
btw. If the RGB LED WS2812 requires accurate IO timing, the ESP32 RTOS based devices might not be the ideal candidate.
We are looking at methods of improving this situation on ESP, but it might take some time.
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 503 times
- Been thanked: 686 times
Re: esp_event_loop.h is deprecated
Hello,
The WS2811 component is a bit of a work in progress with ESP32. We intend to use the RMT peripheral to allow high speed accurate timings to the LEDs without the processor having to bitbang out the signals but at the moment this is incomplete.
I'll try and make this a priority to complete for you ASAP.
The WS2811 component is a bit of a work in progress with ESP32. We intend to use the RMT peripheral to allow high speed accurate timings to the LEDs without the processor having to bitbang out the signals but at the moment this is incomplete.
I'll try and make this a priority to complete for you ASAP.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel