GP8211 I2C 15-bit DAC Module - How to use Wire1 on Uno R4 WiFi instead of Wire

userHead Derek.Saville 2025-05-07 11:50:58 593 Views0 Replies

The Arduino Uno R4 WiFi has three I2C busses (Wire, Wire1 & Wire2).
The QWIIC connection is tied to Wire1.

How can I tell the library to use Wire1 instead of the default Wire?

 

#include <DFRobot_GP8XXX.h>

DFRobot_GP8211S GP8211S;

 

This works when connected to pins SCL0 & SDA0 of Wire.

But I want to connect to SCL1 & SDA1 of Wire1.

 

Thanks