I’m trying to make a timer in the 00:00 format on a label
I already got down to {round(Time/60);00'}:{round(Time);00'} the problem is I don’t know how to reset the seconds after 60 seconds. The ft guides are not useful enough to tell us how to do this. It’s also hard to search for it.
How do you make a electronic timer?
6,493 GrandPrix
1.1 years ago
The main parts of a timer:
repeat(...) returns the remainder of division. Try
repeat(Time,60)
floor(...) rounds down and is good for displaying the integer part of a positive number. Try
repeat(floor(Time/60),60)
I made a clock with a digital timer that does this; feel free to pull from my code if you want.
(I don't remember how I did it lol, but I know I did it and it should still work)