Skip to content

Commit 74d295e

Browse files
committed
add second wire interface for thing plus
1 parent e4ad3bd commit 74d295e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

variants/SFE_ARTEMIS_THING_PLUS/variant.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include "config/pins.h"
1212

1313
#define VARIANT_SPI_INTFCS 1
14-
#define VARIANT_WIRE_INTFCS 1
14+
#define VARIANT_WIRE_INTFCS 2
1515

1616
// SPI
1717
#define VARIANT_SPI_SDI SPI_SDI
@@ -22,6 +22,9 @@
2222
#define VARIANT_Wire_SDA I2C_SDA
2323
#define VARIANT_Wire_SCL I2C_SCL
2424

25+
#define VARIANT_Wire1_SDA I2C1_SDA
26+
#define VARIANT_Wire1_SCL I2C1_SCL
27+
2528
// UART
2629
extern UART Serial1;
2730

0 commit comments

Comments
 (0)