Hello,
I working on this arduino project : https://wokwi.com/projects/438929777261353985
Now I wonder can this easily be done with freertos on a esp32
And how would you divide this project in tasks ?
Hello,
I working on this arduino project : https://wokwi.com/projects/438929777261353985
Now I wonder can this easily be done with freertos on a esp32
And how would you divide this project in tasks ?
Yes, but you will have to do the necessary hardware and software configuration/initialization for the specific components that are available on ESP32 with respect to Arduino which is independant of RTOS.
And how would you divide this project in tasks ?
It depends on what your project is doing; if you can elaborate your requirements, that will help to provide better answers.
I cannot rate this as easy or difficult. A lot of the challenges porting this to an ESP32 with FreeRTOS come down to familiarity. The more familiar with programming the ESP32 that you are the easier this port would be.
As for how to structure this project…
Manipulating the I/O of the ESP32 will require some board specific knowledge. Espressif may also provide a library to simplify using the I/O. I would recommend checking for that.