HI!!
I declared 3 global var, i call it inside diferent task and every execution this var should be updates but not to do it. I have a 8051 under evaluation board. Maybe can be a problem of my small micro? What do u think about this?
Thanks
Hi Tamir,
My idea is: - I have a WRITE task that initialize the PID task:
os_create_task(A); os_create_task(B); os_create_task(C); os_wait(K_SIG, WAIT_FOREVER,0); /* Espera hasta que algun PID actualice el valor */ os_clear_signal(WRITE);
This 3 task should update my global var called iAiBiC respectly.
After i send the result of the PIDs to serial port for comunications with a simulator.