Page 1 of 1

i want to know how to run timer ..

Posted: Thu Mar 26, 2009 5:27 pm
by zenzehar
i want to know how to run timer ... is there is a way to run timer easily with flow code ... and when we set this timer to certain value it ... it counts till it finishes then it do some actions ... and can the value of timer changed dinamically inside the code ?? .. please give me full detailes about how to use timers in flow code ... if there is an example i will be grateful ..thx ...

Re: i want to know how to run timer ..

Posted: Thu Mar 26, 2009 5:29 pm
by Benj
Hello

If you look inside the Flowcode V3/Examples folder then the following files should be of interest to you.

TUT_19.FCF - XTAL - 1 second timer0 interrupt example using 7-segment display.
TUT_20.FCF - XTAL - 4 digit counter using timer 0.
TUT_22.FCF - XTAL - Digital clock using LCD and timer 0.

There are also some extra timer interrupt examples available from here.
http://www.matrixmultimedia.com/Flowcode_Examples.php

Re: i want to know how to run timer ..

Posted: Thu Mar 26, 2009 6:12 pm
by zenzehar
thanks ... but still don'tknow how to load a value to timer before it start to count ...