Well, I studied your code and
Whose code are you referring to? It is always a good idea to mention the number of the Reply you are referring to.
I'd sure like to get this to work as it will be so useful to me in many projects!
In your program what does "machine_state" mean? I am not asking what values it can have but what are the activities you are trying to manage? And I am posing this question for the value to you of answering it - as well as helping me to understand your thinking.
I have also poured over Robin2's and UKHeliBob's tutorials with no luck. Have I missed something in those? All I see in those tutorials are examples of making things flash and sweep infinitely. I can't find any examples of running and stopping two things at different times, with different waiting periods.
there in common between a timing event that is repeated and one that only happens once?
My guess is that you are too much focused on how to write code and not enough on the simple logic of the system you want to create. Try writing down all the steps the system needs to go through with each step on a new line.