Page 1 of 2

Chronometer

Posted: Fri Apr 11, 2014 12:06 pm
by rustyou
Hello,

I'ld like create a stopwatch.

With 2 btn for go and stop chrono.

there is an example ?

Re: Chronometer

Posted: Fri Apr 11, 2014 4:15 pm
by CoreStylerz
Only for chronometer?
Just use ruby ticker to 1 sec and you will get 1 tick every second.
Make a counter and set max 60 to get minutes and so on...
Display counter values.

Re: Chronometer

Posted: Fri Apr 11, 2014 5:42 pm
by rustyou
hi CoreStylerz,

Yes.

1 btn for start. and 1 other btn for stop time

Re: Chronometer

Posted: Fri Apr 11, 2014 5:43 pm
by rustyou
i am bad with ruby :(

Re: Chronometer

Posted: Fri Apr 11, 2014 7:37 pm
by tester
Check in the toolbox for the ruby module that was described. Using it - does not requires knowing how ruby works.

Re: Chronometer

Posted: Fri Apr 11, 2014 9:00 pm
by KG_is_back
This one uses code counter. start and stop toggle a boolean and that controls a counter within an assembly code. After that the counter is divided by samplerate and you get very precise time in seconds

Re: Chronometer

Posted: Fri Apr 11, 2014 9:38 pm
by rustyou
Just prefect !!

Thank you KG :) !!!!!!

Re: Chronometer

Posted: Fri Apr 11, 2014 9:41 pm
by RJHollins
Thanks KG !!

One for the toolbox ... cause ya just never know ;)

Re: Chronometer

Posted: Sat Apr 12, 2014 12:37 am
by CoreStylerz
I've build a green+ruby ticker chronomater.. 4-5 minutes.
Here is:
Chronometer.fsm
(5.05 KiB) Downloaded 901 times

Ability to start, stop and reset timers.
Also decimals for seconds.

Kg module is ok, but requires audio load.

Re: Chronometer

Posted: Sat Apr 12, 2014 1:26 am
by KG_is_back
CoreStylerz wrote:I've build a green+ruby ticker chronomater.. 4-5 minutes.Here is:

Chronometer.fsm

(5.05 KiB) Downloaded 3 times

Ability to start, stop and reset timers.Also decimals for seconds.Kg module is ok, but requires audio load.

Very cool...

Yes you're right about the audio load, but the advantage of my chronometer is, that it is controlled by streamboolean (or defacto by any stream) so it can be sample-precise when triggered by streams.