esp_event_loop.h is deprecated

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
zipidy66
Posts: 7
http://meble-kuchenne.info.pl
Joined: Sat Dec 05, 2020 11:31 pm

esp_event_loop.h is deprecated

Post by zipidy66 »

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
Attachments
esp32_RGB_LED.msg.txt
(131.19 KiB) Downloaded 164 times

LeighM
Valued Contributor
Posts: 401
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 71 times
Been thanked: 217 times

Re: esp_event_loop.h is deprecated

Post by LeighM »

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.

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: esp_event_loop.h is deprecated

Post by BenR »

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.

Post Reply