//in variant_pins.h
#define PIN_XGPIOC9 (14)
#define PIN_XGPIOC10 (15)
When I change
#define PIN_IIC1_SDA (11)
#define PIN_IIC1_SCL (12)
to
#define PIN_IIC1_SDA (14)
#define PIN_IIC1_SCL (15)
the I2C Wire1 does not work. Is there something else I need to change.
//Before change. For reference.
#define PIN_IIC0_SDA (2)
#define PIN_IIC0_SCL (1)
#define PIN_IIC1_SDA (11)
#define PIN_IIC1_SCL (12)
#define PIN_IIC2_SDA (0xff)
#define PIN_IIC2_SCL (0xff)
#define PIN_IIC3_SDA (9)
#define PIN_IIC3_SCL (10)
#define PIN_IIC4_SDA (0xff)
#define PIN_IIC4_SCL (0xff)
Also it looks like the i2c is assigned to the same pins as the spi port. This means if I want to use 2 I2C ports I can’t use the spi interface. This is why I want to reassign the I2C1 to pins 14 and 15.
What is the process for reassigning pins in the Arduino frame work. Thank you