#1
|
|||
|
|||
Timer Question
Hello,
I have a program that I want to run for 10 minutes. In those 10 minutes I want it to check for the time. For the first 3 minutes I want it to run one function. After the 3 minutes expires I want it to start another function for 4 minutes. When that expires I want it to run another function for the remaining 3 minutes. Do I use a starttimer and have the starttimer equal something and put the 3 functions in a loop so it keeps checking the time? Im looking for a good way to write this. Thanks Example: viz.go() . . . def function1(): "code" //end of function 1 def function2(): "code" //end of function 2 def function3(): "code" //end of function 3 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
General question and question regarding arrays | dan12345 | Vizard | 1 | 01-15-2008 10:15 AM |
Timer cycling correctly? | JMOwens | Vizard | 2 | 12-07-2007 09:57 AM |
timer question again | Elittdogg | Vizard | 3 | 10-18-2007 10:29 AM |
timer question | Elittdogg | Vizard | 5 | 10-10-2007 02:49 PM |
Timer speed | Jerry | Vizard | 1 | 12-08-2006 11:01 AM |