use of com.qualcomm.robotcore.hardware.I2cDeviceSynchImplOnSimple in project robotcode by OutoftheBoxFTC.
the class HardwareDeviceManager method createI2cDeviceSynch.
@Override
public I2cDeviceSynch createI2cDeviceSynch(RobotCoreLynxModule lynxModule, DeviceConfiguration.I2cChannel channel, String name) {
RobotLog.v("Creating I2cDeviceSynch (Lynx) - mod=%d bus=%d", lynxModule.getModuleAddress(), channel.channel);
I2cDeviceSynchSimple i2cDeviceSynchSimple = createI2cDeviceSynchSimple(lynxModule, channel, name);
I2cDeviceSynch result = new I2cDeviceSynchImplOnSimple(i2cDeviceSynchSimple, true);
return result;
}
Aggregations