Jump to content

Event Connection.PinChange: Difference between revisions

From Flowcode Help
JonnyW (talk | contribs)
XML import of events update
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable""
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="mtx-class-macrotable wikitable"
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" class="mtx-class-macrohead" | '''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''
|}




<sidebar>Event Contents</sidebar>
Details on using Event Macros can be found here: [[Simulation Events|Event Macros]]
Sent during simulation if a connected port pin changes


This event is part of the [[Event class Connection|Connection]] class


__TOC__
==Detailed description==


==Parameters==
''This event has no parameters''




==Return value==
==Examples==
[[Variable Types|ULONG]]
The return of this event is currently unused
 
 
==Detailed description==
''<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 examples</span>''

Latest revision as of 14:13, 13 July 2026

PinChange
Sent during simulation if a connected port pin changes 
- 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.

PinChange Event Example