arduino / docs-content

Arduino documentation (docs.arduino.cc)
https://docs.arduino.cc/
Creative Commons Attribution Share Alike 4.0 International
156 stars 367 forks source link

Qwiic connector on the Arduino UNO R4 WiFi #2089

Closed baqwas closed 1 month ago

baqwas commented 1 month ago

The documentation states that the following statement must be included to support the use of the second I2C interface (for Qwiic):

Wire1.begin();
libraryName.begin( Wire1 );

Unfortunately, there is no reference on how to include the access to libraryName in the sketch. Currently, compilation fails.

Thanks.

pedromsousalima commented 1 month ago

Hi @baqwas,

Thank you for your feedback! To clarify, when the documentation mentions:

Wire1.begin();
libraryName.begin(Wire1);

libraryName is a placeholder and should be replaced with the actual library instance you are using for your specific module or sensor like in the complete example.

baqwas commented 1 month ago

Idiot should be my middle name!