Author Topic: Help Building A Clock  (Read 767 times)

I am building a clock and I understand how to make the time change normally (using relays and change print) but it always goes above sixty (i.e. 9:98)
Is there anyway to make it so the numbers do not go above sixty?

Ive been working on a clock myself, but I stopped working on it about 2-3months ago. I used the PrintEquals event to make it so it is 60 seconds. So like, PrintEquals>6>1 ... OnCondition1Pass>SetPrint 0.

You could use two bricks for the 'Ten Seconds' counter: set one as invisible and default to print count 4, then the other to print count 0 on the display. When going past ten seconds, increment both by one. When the invisible one reaches ten - onPrintCountOverflow - after sixty seconds, reset them both to 4 and 0, then increment 'Minutes' by one.

good idea, and thanks for this too, i was wondering, and i completly forgot about conditional events, i was trying to use variables which didn't work out too well

Ive been working on a clock myself, but I stopped working on it about 2-3months ago. I used the PrintEquals event to make it so it is 60 seconds. So like, PrintEquals>6>1 ... OnCondition1Pass>SetPrint 0.
where is the print equals event? if it is already programed I feel stupid.

where is the print equals event? if it is already programed I feel stupid.
what do you mean

what do you mean
You wouldn't understand this, because you don't know what AIM is.