EventGroupWait

kartikkman
Posts: 15
Joined: Wed Jul 19, 2017 11:27 am

EventGroupWait

Postby kartikkman » Mon Dec 11, 2017 4:48 pm

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 ??

ESP_Sprite
Posts: 9040
Joined: Thu Nov 26, 2015 4:08 am

Re: EventGroupWait

Postby ESP_Sprite » Tue Dec 12, 2017 12:12 am

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: Bing [Bot] and 139 guests