one more nonpreemptive simple scheduler for arduino