Why can't you?
I can not call esp_timer_start_periodic(); function in my Task So where It will be called?
Control multiple device using Timer
Re: Control multiple device using Timer
Re: Control multiple device using Timer
Because It trigger watchdog timer if I call the esp_timer_start_periodic(); functionWhy can't you?
I can not call esp_timer_start_periodic(); function in my Task So where It will be called?
I also tried one thing I have called My timer function when Channel is given but at that time Only one device is on and if I try to given power to another device then It reflects in first device (second device timer is also different). I have do this only for 2 channel right now but I have control 8 channel more. It should be possible or not ? If Yes then How ?
I have attached main file please have a look and please tell me is there any other way...
- Attachments
-
- main.c
- (10.57 KiB) Downloaded 419 times
Re: Control multiple device using Timer
You're doing some stuff that is potentially pretty long-lasting in that timer callback. Timer callbacks are serialized, so it can be that you're 'holding the queue' for other events, potentially ones that the OS needs.
Re: Control multiple device using Timer
Sorry but I can not understand what you are trying to say !You're doing some stuff that is potentially pretty long-lasting in that timer callback. Timer callbacks are serialized, so it can be that you're 'holding the queue' for other events, potentially ones that the OS needs.
Re: Control multiple device using Timer
I have controlled the 3 devices in the mentioned file, but the problem has arrived is that the device is transferring power to the other device. I cannot find the reason for transformation !You're doing some stuff that is potentially pretty long-lasting in that timer callback. Timer callbacks are serialized, so it can be that you're 'holding the queue' for other events, potentially ones that the OS needs.
Thank you
- Attachments
-
- main.c
- (11.55 KiB) Downloaded 232 times
Who is online
Users browsing this forum: apetronilho, Applebot, Bing [Bot], Qwantbot and 3 guests
