Hello, has anyone that is on seen a MRL service for running OLED displays via I2C and a follow up question has anyone written anything to use an i2c multiplexer? I am currently experimenting with the sad1306_128x64_i2c code from adafruit but would like to be able to control them from a service in MRL biggest issue I am running two OLED displays with the same i2c address, thus the need for the i2c multiplexer

Mats

7 years 7 months ago

Hi Kyle

Happy to see that you want to use i2c from MRL, since I spent much time this spring to make the i2c protocol easily available from MRL. You can use i2c either thru the Arduino service or the RasPi service if you have a Raspberry PI. 

I created 5 different services that can be used directly.

http://myrobotlab.org/service/Adafruit16CServoDriver

http://myrobotlab.org/service/AdafruitIna219

http://myrobotlab.org/service/Ads1115

http://myrobotlab.org/service/Mpu6050

http://myrobotlab.org/service/I2cMux

The last service is the one you reqested to be able to use several i2c devices that you can't change address on. 

I ordered a similar i2c device as the one you have a few weeks ago, but I think it's still on a boat from HongKong. 

If you develop in Java you can use the Adafruit16CServoDriver service as an example, since it only writes.

/Mats