UNPKG

pxt-common-packages

Version:
16 lines (10 loc) 247 B
# create I2C Opens a I2C serial communication channel over the given pins. ```sig pins.createI2C(undefined, undefined); ``` ## Parameters * ``SDA`` pin * ``SCL`` pin ## Return A ``I2C`` instance that allows to interact with the bus directly.