??? 08/06/08 05:48 Read: times |
#157275 - State machines Responding to: ???'s previous message |
Marshall Brown said:
however in my example above the function may take >60secs to complete, in its current form. You could redesign it as a state machine - so that your main loop only calls it when there's an event (in this case, a timer event) to handle... Michael Karas did a tutorial on state machines a while back... |