Re: Control multiple device using Timer
Posted: Tue Sep 05, 2023 1:24 pm
Why can't you?
I can not call esp_timer_start_periodic(); function in my Task So where It will be called?
Why can't you?
I can not call esp_timer_start_periodic(); function in my Task So where It will be called?
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?
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.
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.