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 ??
EventGroupWait
-
- Posts: 9708
- Joined: Thu Nov 26, 2015 4:08 am
Re: EventGroupWait
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.
Who is online
Users browsing this forum: No registered users and 152 guests