Skip to main content

Example: Controlling Slaves and Bus Devices Connected via I²C

Product: CODESYS Control for Raspberry Pi

The I2CExample.project sample project shows an application which controls multiple sensors and actuators which are actuated via I²C. The MPU-9150 gyroscope, a SRF02, and an Adafruit PWM modules are used here.

For more information, see: Configuring I²C

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

MPU-9150 gyroscope, SRF02, Adafruit PWM

Note

_example_icon.png DOWNLOAD Project