Hi
I'm using MQX 4.2 on a twr_k70 and i have trouble with the timer. I need a timer which calls a function every 10 seconds, this function makes a task ready. The timer seems to work well if it is set to short time intervals (like 50ms or so). But when it is set to 10 seconds, the function is never called.
I attach the configuration code:
_timer_id Timer;
Timer = _timer_start_periodic_every(flag, 0, TIMER_ELAPSED_TIME_MODE, 10000);
_time_delay_ticks(600);
thanks in advance!
Hi Marco
Please refer to below link for how to use MQX timers.
https://community.nxp.com/t5/MQX-Software-Solutions-Knowledge/Using-the-MQX-timers/ta-p/1110647
Regards
Daniel