Difference between revisions of "Output Icon Properties"

From Flowcode Help
Jump to navigationJump to search
Tags: Flowcode v9 Flowcode v10
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<sidebar>Sidebar: Icon Properties</sidebar>
+
[[File:iconOutput.png|border]]
{| style="margin:auto; text-align:center;"
+
 
 +
Output icon send the value or variable to the specified port and/or bits.
 +
 
 +
 
 +
==Old Versions==
 +
This page is current for Flowcode v11 and later. Earlier versions can be found below:
 +
{| class="wikitable"
 +
|+
 
|-
 
|-
|[[File:Btn_Output.gif|border]]
+
| [[Special:PermanentLink/23136|Flowcode v10]]
 +
|-
 +
| [[Special:PermanentLink/23136|Flowcode v9]]
 +
|-
 +
| [[Special:PermanentLink/10816|Flowcode v8]]
 +
|}
 +
 
 +
 
 +
==Details==
 +
{| style="margin:0px; text-align:center;"
 +
|-
 +
|[[File:iconOutput.png|border]]
 
| width="50px" |&rarr;  
 
| width="50px" |&rarr;  
 
|[[File:Gen_Output_Flowchart_Icon.png]]  
 
|[[File:Gen_Output_Flowchart_Icon.png]]  
 
|width="50px" |&rarr;  
 
|width="50px" |&rarr;  
|[[File:Gen_Output_Icon_Properties.png]]
+
|[[File:Properties_Output1.png]]
 
|}
 
|}
  
Output icon send the value or variable to the specified port and/or bits.
+
'''Display Name'''
 +
 
 +
The name of the icon that appears on the flowchart.
  
The output is received at the port in binary format.
 
  
 +
'''Port'''
  
'''Display Name'''
+
Select from a list of the ports available on the target microcontroller
  
The name of the icon that appears on the flowchart.
 
  
 
'''Variable or value'''
 
'''Variable or value'''
Line 24: Line 43:
 
Numeric values can be in decimal (unmarked), HEX (preceded by 0x) or binary format (preceded by 0b). e.g. 255, 0xFF, 0b11111111. Users can also use expressions inside the variable or value box, eg "x + 100".
 
Numeric values can be in decimal (unmarked), HEX (preceded by 0x) or binary format (preceded by 0b). e.g. 255, 0xFF, 0b11111111. Users can also use expressions inside the variable or value box, eg "x + 100".
  
'''Port'''
 
  
Select from a list of the ports available on the target microcontroller
+
==Advanced==
 +
 
 +
By selecting the 'Show advanced options' you can individual pins.
 +
 
 +
[[File:Properties_Output2.png]]
  
  
Line 48: Line 70:
  
  
====Video instructions====
+
'''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.
 +
 
  
See the [http://www.youtube.com/watch?v=uC3jj1ebAFI&list=PLQDWBb7bxuCgg6aJgPJcfXBMzZdLILceQ Inputs Outputs] video to learn how [[Input Icon Properties|Input]] and '''Output''' icons work, this video also describes the use of single bits and port [[Using Masks|masking]] as well as using HEX values.
+
==Video==
  
<div align="center">
+
See the [http://www.flowcode.co.uk/videos/videoview/?name=The+Output+icon&id=local&wiki=Output_Icon_Properties Output icon video] to see how this icon can be used in your Flowcode projects.
{{#ev:youtube|uC3jj1ebAFI|640}}
 
</div>
 

Latest revision as of 09:24, 12 June 2026

IconOutput.png

Output icon send the value or variable to the specified port and/or bits.


Old Versions

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

Flowcode v10
Flowcode v9
Flowcode v8


Details

IconOutput.png Gen Output Flowchart Icon.png Properties Output1.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 or value

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

Numeric values can be in decimal (unmarked), HEX (preceded by 0x) or binary format (preceded by 0b). e.g. 255, 0xFF, 0b11111111. Users can also use expressions inside the variable or value box, eg "x + 100".


Advanced

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

Properties Output2.png


Single Bit

Use this option to write to a single bit of the port.

If a true (non zero) value is sent to the bit the bit is set (turned on), otherwise the bit is cleared (turned off).


Entire Port

Use this option to write the variable or value to the entire port.


Use Masking

When masking is used, it is possible to write to only certain bits of a port. This is useful when some bits of the port are configured as inputs and you wish to leave these bits unchanged.

With masking only the selected bits receive their value, all non selected bits are not affected.


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 Output icon video to see how this icon can be used in your Flowcode projects.