Jump to content

Event Connection.PinChange: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable""
 
(12 intermediate revisions by 5 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''
|}


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 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