Difference between revisions of "Event Connection.PinChange"

From Flowcode Help
Jump to navigationJump to search
(XML import)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{| 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''
 +
|}
  
Sent during simulation if a connected port pin changes
 
  
This event is part of the [[Event class Connection|Connection]] class
+
Details on using Event Macros can be found here: [[Simulation Events|Event Macros]]
  
__TOC__
 
  
==Parameters==
+
==Detailed description==
''This event has no parameters''
 
  
  
==Return value==
 
[[Variable types|ULONG]]
 
The return of this event is currently unused
 
  
 +
==Examples==
  
==Detailed description==
+
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.
''<span style="color:red;">No additional information</span>''
 
  
 
+
{{Fcfile|ShortedIOPinsInSimulation.fcfx|PinChange Event Example}}
==Examples==
 
''<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