Skip to content

Commit 031d34f

Browse files
giulcioffifacchinm
authored andcommitted
Add defines to PIN_WIRE_SDA/SCL
1 parent 306a30b commit 031d34f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: variants/NICLA/pins_arduino.h

+7
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ extern PinName digitalPinToPinName(pin_size_t P);
5858
#define PIN_SPI_SCK (9u)
5959
#define PIN_SPI_SS (6u)
6060

61+
// Wire
62+
#define PIN_WIRE_SDA (p22)
63+
#define PIN_WIRE_SCL (p23)
64+
65+
#define PIN_WIRE_SDA1 (p15)
66+
#define PIN_WIRE_SCL1 (p16)
67+
6168
// Analog pins
6269
// -----------
6370
#define PIN_A0 (10u)

0 commit comments

Comments
 (0)