Difference between revisions of "Event Connection.PinChange"

From Flowcode Help
Jump to navigationJump to search
(XML Import to change Variable types into Variable Types)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Sent during simulation if a connected port pin changes
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''PinChange'''
 +
|-
 +
| colspan="2" | Sent during simulation if a connected port pin changes 
 +
|-
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - NONE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
This event is part of the [[Event class Connection|Connection]] class
 
  
__TOC__
+
Details on using Event Macros can be found here: [[Simulation Events|Event Macros]]
  
==Parameters==
 
''This event has no parameters''
 
  
 +
==Detailed description==
  
==Return value==
 
[[Variable Types|ULONG]]
 
The return of this event is currently unused
 
  
  
==Detailed description==
+
==Examples==
''<span style="color:red;">No additional information</span>''
 
  
 +
Example showing how to monitor for pin changes and how to simulate two pins shorted together by copying the value of one pin to the value of another.
  
==Examples==
+
{{Fcfile|ShortedIOPinsInSimulation.fcfx|PinChange Event Example}}
''<span style="color:red;">No additional information</span>''
 

Latest revision as of 12:12, 16 January 2023

Fc9-comp-macro.png PinChange
Sent during simulation if a connected port pin changes 
Fc9-void-icon.png - NONE Return


Details on using Event Macros can be found here: Event Macros


Detailed description

Examples

Example showing how to monitor for pin changes and how to simulate two pins shorted together by copying the value of one pin to the value of another.

FC6 Icon.png PinChange Event Example