saving . . . saved CKT3 has been deleted. CKT3 has been hidden .
While statement was used to stop the count , so can't we use break statement ?

Arduino Display-counter-using-Arduino 06-07 min 10-20 sec 11-08-19, 7:48 p.m.


while statement willdisplay the count when the pushbutton is in pressed state.
When you release the button, the state is LOW and it will come out of the while loop

No need of break statement in this code.

22-08-19, 5:11 p.m. NirmalaVenkat

Log-in to answer to this question.