Difference between revisions of "Component: IO Expander (PCF8574) (PCF8574) (General Input)"
From Flowcode Help
Jump to navigationJump to searchLine 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
− | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_IOEXP_PCF8574.fcfx FC_Comp_Source_IOEXP_PCF8574.fcfx] |
− | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_IOEXP_PCF8574.fcfx FC_Comp_Source_IOEXP_PCF8574.fcfx] |
==Detailed description== | ==Detailed description== | ||
Line 77: | Line 77: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
Latest revision as of 13:11, 7 February 2023
Author | Matrix TSL |
Version | 1.0 |
Category | General Input |
Contents
IO Expander (PCF8574) component
Provides 8 digital input/output pins arranged into an 8-bit port 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 PCF8574 and PCF8574A devices allowing up to 16 expanders to be connected to the same I2C bus ( 8 x PCF8574 + 8 x PCF8574A ).
Component Source Code
Please click here to download the component source project: FC_Comp_Source_IOEXP_PCF8574.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_IOEXP_PCF8574.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Initialise
![]() |
Initialise |
![]() |
Return |
ReadPort
![]() |
ReadPort |
Reads the value of the IO pins. | |
![]() |
Return |
WritePort
![]() |
WritePort |
Writes a value to the IO pins. | |
![]() |
Value |
Value to write. Range 0-255 | |
![]() |
Return |