"interval" is not "set interval", it is merely a different version of schedule which makes sure that it is run at the specified rate (if rescheduled over and over again) and that it doesn't reschedule previous schedules, but wait for them to finish.What do you mean it flips only once? I set an interval![/b]
Basically, interval remembers the exact time the last pulse should've occured and uses that as an offset for next pulse, instead of the current time, this allows you to do interval(20) and be sure that it actually runs 50 times per second and does not fall behind.
Perhaps bad naming.


LinkBack URL
About LinkBacks





Reply With Quote



Bookmarks