Page 1 of 1

ESP32: FreeRTOS counting semaphores

Posted: Thu May 11, 2017 3:07 pm
by anteph
A simple example on how to use FreeRTOS counting semaphores to synchronize the execution of tasks.
The semaphore is used as an execution barrier for the Arduino setup function to only finish after some previously launched tasks execute.

https://techtutorialsx.com/2017/05/11/e ... emaphores/

Re: ESP32: FreeRTOS counting semaphores

Posted: Thu May 11, 2017 7:14 pm
by WiFive
Thanks for your examples. If you are doing a whole series of these maybe you could condense them into one topic and keep updating it?

Re: ESP32: FreeRTOS counting semaphores

Posted: Thu May 11, 2017 8:04 pm
by anteph
Hi! You're welcome :)

I didn't know if the best approach was to keep updating a post or creating new ones, so I was creating a post for each new tutorial.

Right now I'm more focused on FreeRTOS but I intend to do tutorials on other functionalities of the ESP32. I already have some stuff on MQTT and parsing JSON.

If it's better to keep updating a single one I can do it that way. Thanks for the advice.

Best regards,