I added I2C support to PharoThings and WiringPi.
Now you can ask the board instance for I2C connection:
i2cConnection := board connectToI2CDevice: 4.
And then read/write data using wiringpi functions like:
i2cConnection read8BitsAt: 16r32 “register”.
i2cConnection writeData: 16rAB.
i2cConnection write8BitsAt: 16r32 “register” data: 16rA5.
I added also I2CDevice as superclass for simple i2c devices. There is example of accelerometer ADXL345. Look for details.