Tuesday, October 11, 2011

flowchart #3;

When flowchart #3 starts, it will ask the question: is switch on? If the answer is no, the question will be asked again until the answer is yes. When the answer is yes, the LED will be turned on then the timer starts. If it hasn't been a second since the timer started, the question will be asked until a second passes and the answer is yes. When the answer is yes, the Led will be turned off and the timer will be reset.

No comments:

Post a Comment