Thread: Timer Question
View Single Post
Old 03-24-2009, 09:18 AM
durf durf is offline
Join Date: Feb 2009
Posts: 61
Timer Question


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.



def function1():


//end of function 1

def function2():


//end of function 2

def function3():


//end of function 3
Reply With Quote