Search in sources :

Example 1 with I2cDeviceSynchImplOnSimple

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;
}
Also used : I2cDeviceSynchSimple(com.qualcomm.robotcore.hardware.I2cDeviceSynchSimple) LynxI2cDeviceSynch(com.qualcomm.hardware.lynx.LynxI2cDeviceSynch) I2cDeviceSynch(com.qualcomm.robotcore.hardware.I2cDeviceSynch) I2cDeviceSynchImplOnSimple(com.qualcomm.robotcore.hardware.I2cDeviceSynchImplOnSimple)

Aggregations

LynxI2cDeviceSynch (com.qualcomm.hardware.lynx.LynxI2cDeviceSynch)1 I2cDeviceSynch (com.qualcomm.robotcore.hardware.I2cDeviceSynch)1 I2cDeviceSynchImplOnSimple (com.qualcomm.robotcore.hardware.I2cDeviceSynchImplOnSimple)1 I2cDeviceSynchSimple (com.qualcomm.robotcore.hardware.I2cDeviceSynchSimple)1