Usage of i2c devices

In General: I just got multiple different I2C devices on the same BUS… Check out the solution to this recent post. The key is not crash the device communications into each other. There are several ways to do this. The simplest is to make a continuous daisy chain…

Now, you need a library in XOD… You’ve got to make your own, or maybe one of the XODERS can adapt it for you. You gotta start with the Arduino IDE Library from GitHub… (Assuming you can’t or don’t want to do what qweimer was talking about, which is fairly complex)

Here’s a recent example, that’s also fairly complex, using I2C, that Wayland made (bless his soul)…

In general, there’s some info on adapting libraries from Arduino libraries
https://xod.io/docs/guide/wrapping-arduino-libraries/

Once you know what you’re doing, then it’s trivial to adapt a library. However, I actually haven’t mastered it… even after working on it for at least a week and reviewing waylands work.

I would recommend linked web addresses to 1) the libraries you need on GitHub, 2) the Devices you’re using… If somebody can do it, then they might. Especially, if your equipment could be very useful to other XODERS.

Alternatively, look at other devices that already have XOD libraries
https://xod.io/libs/