Hello to all.
I have GUI task that it’s main purpose to redraw windows and to react on pressing buttons.
So I thought that the best way redraw window every 200 miliseconds (vTaskDelay(200)), and also I want to call it from Keyboard Interrupt.
I redraw window periodicly, because the data on it can be changed. So, I can’t use vTaskSuspend.
Help me, please, how can i do this ?
Thanks in advance
Valerie
I think, may be, the gui task after redraw window will set itself to suspend state.
And resume it from timer every 200 mili and from the keyboard interrupt.
???
Hi, Rasty.
Can you, please, give me an example of your solution.
If I understand right, the gui task take semaphore in the end of it’s loop…
In keyboard interrupt I can give semaphore back.
What about call gui task every 200 mili ? Return semaphore from timer ?