Input Icon Properties

From Flowcode Help
Revision as of 15:07, 10 June 2026 by SteveT (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

IconInput.png

Input icons check the specified port and/or bits for their value and then place the resulting value into the specified variable.


Old Versions

This page is current for Flowcode v11 and later. Earlier versions can be found below:

Flowcode v10
Flowcode v9
Flowcode v8


Details

IconInput.png Gen Input Flowchart Icon.png Gen Input Icon Properties.png


Display Name

The name of the icon that appears on the flowchart.


Port

Select from a list of the ports available on the target microcontroller.


Variable

Select the name of the variable that you wish to input the port state into. Clicking on the down arrow brings up the variables dialog window allowing you to select an existing variable or to create a new one.


Advanced

By selecting the 'Show advanced options' you can individual pins.

Gen Input Icon Properties2.png

Single Bit

Use this option to read the state of a single bit of the port.

When the state of a single bit is true the value of that bit is passed as its value.


Entire Port

Use this option to read the value of the entire port into the variable.


Use Masking

When masking is used, it is possible to read only certain bits into a variable. This is useful when some bits of the port are configured as outputs.

When a mask is used only the values of the selected bits are read.


Use chip references

When using target devices that have a mixture of a letter and a number or just a number, for example, on Arduino Uno - A2

If 'Use chip references' is unticked, you can select A2.

If 'Use chip references' is ticked, it will be PORT C2.


Video

See the Input icon video to see how this icon can be used in your Flowcode projects.