create I2C

Opens a I2C serial communication channel over the given pins.

pins.createI2C(undefined, undefined);

Parameters

  • SDA pin
  • SCL pin

Return

A I2C instance that allows to interact with the bus directly.