Hi, I'm using mqx tasks. I have a Control task that send messages to others tasks (Ethernet Client). I need that my control task send a message to Ethernet Client every 500 ms. In the rest of time, control task sends others messages to other tasks (depends of some interrupts) and do some calculations. Therefore, I need some help to how to use timmer functions in order to send a message to Ethernet Client using flags (interruptions) of the timmer.
I know that there are functions like _timer_start_periodic_every but I didn't find examples that help my code.
Sincerely,
Norberto Jiménez
Solved! Go to Solution.
Hello Norberto Jimenez:
Yes, you can use _timer_start_periodic_every
Here is an example to create the timer component, start a periodic timer that sets an event every 20 milliseconds, and later cancel the timer.
Regards
Daniel
Hello Norberto Jimenez:
Yes, you can use _timer_start_periodic_every
Here is an example to create the timer component, start a periodic timer that sets an event every 20 milliseconds, and later cancel the timer.
Regards
Daniel