why don't you just add a SLEEP(1000) in your main loop?
this will give 1 full second of IdLe time in each main loop iteration. If your task work at 'seconds' resolution, this could do the trick.
this will give 1 full second of IdLe time in each main loop iteration. If your task work at 'seconds' resolution, this could do the trick.