com.pi4j.plugin.mock.provider.i2c.MockI2CBus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pi4j-plugin-mock Show documentation
Show all versions of pi4j-plugin-mock Show documentation
Pi4J Library Plugin for the Mock I/O Platform & Providers
The newest version!
package com.pi4j.plugin.mock.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 MockI2CBus extends I2CBusBase {
public MockI2CBus(I2CConfig config) {
super(config);
}
@Override
public R execute(I2C i2c, Callable action) {
return _execute(i2c, action);
}
}