Managing Continuous Operation of Flame Machine with Sleep Function

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
rama1001
Messages
130
Reaction score
1
Hi,
I am correcting a C code which was written for a flame machine. My desire is to give a burst cool time when the machine working continuously. In deep, user could have the facility to enter the flame time and cool time before a continuous operation. So, i exactly want to off the current when user time met the flame time and then cool period starts here and so on continuously.
I thought of using Sleep function with an argument of user entered cool time. Is this handle other interrupts in this period? Or any other suggestions would be appreciated.
 
Engineering news on Phys.org