Page 1 of 1

EventGroupWait

Posted: Mon Dec 11, 2017 4:48 pm
by kartikkman
I wanted to ask whether can we use xEventGroupWaitBits() inside a function instead of using it inside a Task ??
I was trying to use it check the connection status of the ESP-32 ( Station Mode ) to the Access Point , I could not get is run ??

Re: EventGroupWait

Posted: Tue Dec 12, 2017 12:12 am
by ESP_Sprite
Erm, a task and a function are entirely different concepts. If you are asking about the main function of your task calling another function and that function being able to call EventGroupWait: yeah, sure, that should work just fine.