Jump to content

Event Connection.PinChange: Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 1: Line 1:
<sidebar>Event Contents</sidebar>
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
Sent during simulation if a connected port pin changes
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
This event is part of the [[Event class Connection|Connection]] class
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''PinChange'''
 
|-
__TOC__
| colspan="2" | Sent during simulation if a connected port pin changes&nbsp;
 
|-
==Parameters==
|-
''This event has no parameters''
| 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''
 
|}
==Return value==
[[Variable Types|ULONG]]
The return of this event is currently unused





Revision as of 11:42, 16 January 2023

PinChange
Sent during simulation if a connected port pin changes 
- NONE Return


Detailed description

No additional information


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