I have a question about delay in Visual Studio 2010 C sharp. I need time delay in program for send position to servo. Now I am using System.Threading.Thread.Sleep(200)) but i need the delay which i can interupt.
When i use the sleep, that program during sleep not work. (on Click button,trackbar move ...), but I must control the program during the delay.
What is exist in VS like as function sleep?
Thank you very much for your reply.
Martin