Initializes I2C instance associating GPIOs to I2C signals.
- Parameters
-
SDAGPIO | Pin to use for SDA signal |
SCLGPIO | Pin to use for SCK signal |
Example:
// 4 = SDA, 15 = SCL (WARN: disconnect VGA connector!!)
I2C.begin(GPIO_NUM_4, GPIO_NUM_15);
Definition at line 72 of file tsi2c.cpp.