View Single Post
  #5  
Old 21-10-2010, 10:51 PM
AndrewJ
Watch me post!

AndrewJ is offline
 
Join Date: Mar 2006
Location: Melbourne
Posts: 1,905
Gday Bojan

Quote:
I don't mind if machine does nothing else while waiting,
Just use the std sleep procedure then.
It automatically converts cpuTicks to millisec, hence is clock independent.
Much simpler than trying to roll yr own timer.

Andrew

PS the "process messages" wouldnt hurt in yr scenario, but will not do anything unless you have an event programmed for the message.
In the case you show, using a timer is probably a neater solution.
Reply With Quote