variable timer

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
wayne millard
Posts: 234
Joined: Thu May 31, 2007 2:18 pm
Has thanked: 7 times
Been thanked: 12 times

variable timer

Post by wayne millard »

Hi Team,

What is the best way to make a variable time generator giving a start and stop pulse.

Thanks
Wayne

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: variable timer

Post by Benj »

Hello Wayne,

The most accurate way is probably to use a timer interrupt. You probably want the interrupt to be quite fast and this will be your minimum delay segment. You can then count the number of interrupts to allow you to acheive any multiple of the delay segment. Hope this makes sense.

Post Reply