Skip to main content

Example: Controlling the MCP23S17 Port Expander Chip Connected via SPI

Product: CODESYS Control for Raspberry Pi

The MCP23S17.project project shows an application where a port expander chip (MCP23S17) is controlled which has been connected via SPI.

For more information, see: Configuring Port Expander MCP23S17

Note

_example_icon.png After the installation of CODESYS Control for Raspberry Pi, the sample project is located in the CODESYS Control for Raspberry Pi installation directory, in the Examples directory.

System requirements and restrictions

Programming system

CODESYS Development System (version 3.5.18.0 or higher)

Runtime system

CODESYS Control for Raspberry Pi (version 4.5.0.0 or higher)

Add-on components

MCP23S17 port expander chip