Difference between revisions of "Input Icon Properties"
m (ReeceL moved page Input icon properties to Input Icon Properties without leaving a redirect) |
|
(No difference)
|
Revision as of 09:19, 21 May 2013
→ File:Input Flowchart Icon.png → File:Input Properties.png
Input icons check the specified port and/or bits for their value and then place the resulting value into the specified variable.
Display Name
The name of the icon that appears on the flowchart.
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.
Port
Select from a list of the ports available on the target microcontroller
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. See the Using Masks page for more detail.