Skip to content

Commit d728a61

Browse files
committed
Add Wire2 definition for Nicla Vision
1 parent 0834fb4 commit d728a61

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

Diff for: variants/NICLA_VISION/pins_arduino.h

+5-4
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,12 @@ void _ontouch1200bps_();
128128
#define I2C_SCL_INTERNAL (PF_1)
129129
#define I2C_SDA1 I2C_SDA_INTERNAL
130130
#define I2C_SCL1 I2C_SCL_INTERNAL
131-
//#define I2C_SDA1 (13u)
132-
//#define I2C_SCL1 (14u)
133131

134-
#define I2C_SDA3 (18u)
135-
#define I2C_SCL3 (19u)
132+
#define I2C_SDA2 (13u)
133+
#define I2C_SCL2 (14u)
134+
135+
//#define I2C_SDA3 (18u)
136+
//#define I2C_SCL3 (19u)
136137

137138
#define SPI_HOWMANY 2
138139

Diff for: variants/NICLA_VISION/variant.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ PinDescription g_APinDescription[] = {
2626
{ PE_13, NULL, NULL, NULL }, // SPI_CIPO
2727
{ PB_9, NULL, NULL, NULL }, // SDA
2828
{ PB_8, NULL, NULL, NULL }, // SCL
29-
{ PF_0, NULL, NULL, NULL }, // SDA2
30-
{ PF_1, NULL, NULL, NULL }, // SCL2
29+
{ PC_9, NULL, NULL, NULL }, // SDA2
30+
{ PA_8, NULL, NULL, NULL }, // SCL2
3131

3232
// A0 - A6
3333
{ PC_4, NULL, NULL, NULL }, // A0 ADC2_INP0

0 commit comments

Comments
 (0)