com.pi4j.plugin.raspberrypi.provider.i2c.RpiI2CBus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pi4j-plugin-raspberrypi Show documentation
Show all versions of pi4j-plugin-raspberrypi Show documentation
Pi4J Library Plugin for the RaspberryPi Platform & I/O Providers
package com.pi4j.plugin.raspberrypi.provider.i2c;
import com.pi4j.io.i2c.I2C;
import com.pi4j.io.i2c.I2CBusBase;
import com.pi4j.io.i2c.I2CConfig;
import java.util.concurrent.Callable;
public class RpiI2CBus extends I2CBusBase {
public RpiI2CBus(I2CConfig config) {
super(config);
}
@Override
public R execute(I2C i2c, Callable action) {
return _execute(i2c, action);
}
}