I have a problem with my current project. I want to use a XIAO SAMD processor with the “WIO-SX1262 for XIAO” module (not the kit with ESP32S3) and a Grove sensor AHT20 to send temperature and humidity data with LoRa. The problem is that the LoRa module has a conflict with the I2C pins. I2C uses pins 4 (SDA) and 5 (SCL) but the LoRa module uses also PIN 4 as NSS.
I tried to switch the I2C pins to Pins 6 (TX → SDA) and 7 (RX → SCL) with different libs (SoftWire, TwoWire, SoftwareWire). But nothing works.
Is there a simple solution for this? Can somebody help me. Many thanks in advance.
thanks for you answer. Yes, I saw this before. But in your example you can initialize the display directly with pins 6 and 7.
I try to use sensors like Grove SGP30 and AHT20. For this I have to use “Wire.h” or something similar. I just gave FlexWire a try and it seems to work. I have to do further tests.