I set tmr.enabled = false at begin of a sub und tmr.enabled = true at the end - causes a regular fatal error after about 2500 times - exact at the same loop, depending on stack largeness.....
after replacing timer.enable by a boolean inside the tmr routine for not executing the tasks, the error was gone. at stackbuffersize(10000), the error was earlier than on stackbuffersize(300) ... might be interesting...
should a var for timercounter be set in globals? guess, he will define his own vars for looping
after replacing timer.enable by a boolean inside the tmr routine for not executing the tasks, the error was gone. at stackbuffersize(10000), the error was earlier than on stackbuffersize(300) ... might be interesting...
should a var for timercounter be set in globals? guess, he will define his own vars for looping