i want to know how to run timer ..

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
zenzehar
Posts: 21
Joined: Sat Nov 01, 2008 4:00 pm

i want to know how to run timer ..

Post 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 ...

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

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

Post 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

zenzehar
Posts: 21
Joined: Sat Nov 01, 2008 4:00 pm

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

Post by zenzehar »

thanks ... but still don'tknow how to load a value to timer before it start to count ...

Post Reply