Hello!
I create a project using rl-rtx keil rtos like as rtx_traffic project. I create tasks to start a display interface and uart communication,and so on. I'm using events to synchronize functions as below
tasks(... .. os_evt_clr (... os_evt_wait_or (... ...
So I try to start a keyboard routine like
__task void get_key(void) { while(1){ while(keyboard()!='k'); //its should be wait here but not os_dly_wait(2); } }
but always task pass over keyboard function, its should be stop there. Someone knows how can I keep task wait for another routine do something and than just after receipt a command step away? thanks