I've added the requirement to specify the SDA and SCL pins because it adds a lot more flexibility to the library.
The default for ESP32 (21,22) and Arduino (18,19) are specified in the examples.
In the ESP32C3 series, any pin can easily be used for I2C and so it is best -not- to limit people to the default(s), rather encourage the user to define the I2C pins as part of instantiation. This makes the library more accessible to inexperienced users.
I've added the requirement to specify the SDA and SCL pins because it adds a lot more flexibility to the library. The default for ESP32 (21,22) and Arduino (18,19) are specified in the examples.
In the ESP32C3 series, any pin can easily be used for I2C and so it is best -not- to limit people to the default(s), rather encourage the user to define the I2C pins as part of instantiation. This makes the library more accessible to inexperienced users.