![]() I realize that a lot of people answered it already but i thought it would help out more, learning wise, if you could see where you made a mistake and try to fix it.Hope it helped. That way minutes will start off with a value of "0", receive the new value of "0+1", receive the new value of "1+1", receive the new value of "2+1", etc. Line because you don't really need another variable in this case, just replace it with Search Change Language A cool little 6 Minute Timer Simple to use, no settings, just click start for a countdown timer of 6 Minutes. 10 minute timer 00 00 10 00 (days) (hours) (minutes) (seconds) START RESET Timer Settings You may try also other countdown timers. They are perfect for everyday activities such as cooking meals, taking quizzes, giving speeches, playing sports, or practicing music. In 'timer settings' you can change the time for timer. Create your timers with optional alarms and start/pause/stop them simultaneously or sequentially. If you want to start again and set timer for 10 minutes or set alarm for 10 minutes, just press the 'reset' button. I'm betting that every time you print mins it shows you "1" because of what i just explained, "0+1" will always result in "1".ĭeclaration outside of your while loop. Press the 'stop' button and alarm will stop. I was actually looking for a timer myself and your code seems to work, the probable reason for your minutes not being counted is that when you say that
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |