File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
variants/seeed_xiao_rp2350 Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,17 @@ static const uint8_t D18 = (9u);
5353
5454
5555// Wire
56- #define PIN_WIRE1_SDA (16u)
57- #define PIN_WIRE1_SCL (17u)
56+ #define __WIRE0_DEVICE (i2c0)
57+ #define PIN_WIRE0_SDA (16u)
58+ #define PIN_WIRE0_SCL (17u)
59+ #define SDA PIN_WIRE0_SDA
60+ #define SCL PIN_WIRE0_SCL
61+ #define I2C_SDA (SDA)
62+ #define I2C_SCL (SCL)
63+
64+ #define __WIRE1_DEVICE (i2c1)
65+ #define PIN_WIRE1_SDA (6u)
66+ #define PIN_WIRE1_SCL (7u)
5867
5968#define SERIAL_HOWMANY (3u)
6069#define SPI_HOWMANY (2u)
@@ -66,10 +75,3 @@ static const uint8_t MISO = PIN_SPI0_MISO;
6675static const uint8_t SCK = PIN_SPI0_SCK ;
6776static const uint8_t SS = PIN_SPI0_SS ;
6877
69- #define __WIRE0_DEVICE (i2c1)
70- #define PIN_WIRE0_SDA (6u)
71- #define PIN_WIRE0_SCL (7u)
72- #define SDA PIN_WIRE0_SDA
73- #define SCL PIN_WIRE0_SCL
74- #define I2C_SDA (SDA)
75- #define I2C_SCL (SCL)
You can’t perform that action at this time.
0 commit comments