Initialize I2C as Master and will use the specified I2C device driver name.
Parameters
driverName - Name of I2C device driver port. (e.g “/dev/i2c-1”)
Returns
None
Example
Notes
Wire default device driver is “” (empty) meaning that it will search for any existent I2C device driver and will give priority to “/dev/i2c-1”. if you want to change the default device driver change the I2C_DRIVER_NAME constant as the example below.