Using i2c Devices - MrYsLab/xideco GitHub Wiki

Xideco uses a single, common, Python3 based i2c device object to communicate with one or more i2c devices on one or more boards. The device objects are provided in library form with a fully runnable usage example at the end of the file. You may create your own applications by importing the specific device object into your application.

For Arduino and Raspberry Pi, i2c support is included with xiab and xirb. You would just start the bridges as described by the previous links.

To support i2c on the BeagleBone Black, a separate "Bridge" needs to be run since the BeagleBone Black support library from i2c is limited to running with Python2. The same i2c device controller application used to control Arduino and Raspberry Pi boards is used without modification and can control the BeagleBone Black simultaneously with the other boards. In addition, the BeagleBone Black Bridge may be run at the same time to control GPIO and analog functionality.

For more detail, please refer to the [ADXL45 Accelerometer page] (https://github.com/MrYsLab/xideco/wiki/ADXL345-Accelerometer)