Delay Icon Properties

From Flowcode Help
Jump to navigationJump to search

<sidebar>Sidebar: Icon Properties</sidebar>

Btn Delay.gif Gen Delay Flowchart Icon.png Gen Delay Icon Properties.png

Delay icons are used to slow down program execution and for program timing.

They are particularly useful in slowing program execution speed down to allow for human interaction.


Display Name

The name of the icon that appears on the flowchart.


Delay value or variable

This is the length of the delay that you wish to create. Clicking on the down arrow brings up the variables dialog window allowing you to select an existing variable or to create a new one.


Microseconds/Milliseconds/Seconds options

Delays can be specified in units of microseconds, milliseconds or seconds. When simulating delays in seconds, a dialog box will appear showing how much of the delay has elapsed. A cancel button on the dialog allows the execution of the flowchart to continue before the entire delay has passed.


To allow Flowcode to correctly program your chip with the correct delay setting you will need to select a clock speed for your chip. The clock speed setting must correctly reflect the settings and configuration of the hardware used. The dialog box for this can be seen by selecting Build > Project Options.


Video instructions

See the Delays video to see the set up and configuration of the Delay icon as well as the creation and use of variables with the Delay icon.

{{#ev:youtube|FEXk6LGOlg0|640}}