Hi. I've performed a 1 Hz incremental counter with RTX51 Tiny functions. I configured the parameter INT_CLOCK EQU 10000 at the Conf_tny.a51 file configuration, with a 12Mhz XTAL and then I did a task that uses the os_wait function
unsigned int a; Void Counter(void) _task_ 1 { while (1) { a++; os_wait (K_TMO, 100, 0); } } Theorically, this task is executed every 1 second. The task is waiting 100 timer ticks before a new execution. But it's not working as I expect. What could be wrong?