Part Number: LAUNCHXL-CC1352R1
Other Parts Discussed in Thread: SYSCONFIG,
Hello, I want to configure an I2C protocol with my CC1352 board and OV7670 camera. Based on the I2C reference, ı wrote the below code:
void i2cStart() {
// Initialize I2C driver
I2C_init();
// Initialize I2C parameters
I2C_Params_init(&i2cParams);
i2cParams.bitRate = I2C_400kHz;
// Open I2C
i2cHandle = I2C_open(0, &i2cParams);
if (i2cHandle == NULL) {
// Handle I2C initialization error
return;
}
}
However, I don't know what should ı write on the first argument for I2C_open function.




