Difference between revisions of "Component: IO Expander (PCF8575) (PCF8575) (General Input)"
From Flowcode Help
Jump to navigationJump to searchLine 77: | Line 77: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
Line 83: | Line 85: | ||
==Macro reference== | ==Macro reference== | ||
+ | ===ReadPort=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 96: | Line 99: | ||
+ | ===WritePort=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 114: | Line 118: | ||
+ | ===Initialise=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- |
Revision as of 11:50, 3 February 2023
Author | Matrix TSL |
Version | 1.0 |
Category | General Input |
Contents
IO Expander (PCF8575) component
Provides 16 digital input/output pins arranged into 8-bit ports using a I2C bus connection. Up to eight expanders can be connected to the same I2C peripheral by means of three address pins. Supports the PCF8575 device allowing up to 8 expanders to be connected to the same I2C bus.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_IOEXP_PCF8575.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_IOEXP_PCF8575.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
ReadPort
![]() |
ReadPort |
Reads the current input value of the I/O pins. | |
![]() |
Return |
WritePort
![]() |
WritePort |
Writes an output value to the IO pins | |
![]() |
Value |
Value to write. Range 0-65535 | |
![]() |
Return |
Initialise
![]() |
Initialise |
![]() |
Return |