Skip to content

Commit be9a90d

Browse files
committed
add default wire for artemis module see comments for details
1 parent ca73ef5 commit be9a90d

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

variants/SFE_ARTEMIS_MODULE/variant.h

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@
1010

1111
#include "config/pins.h"
1212

13-
#define VARIANT_SPI_INTFCS 0
14-
#define VARIANT_WIRE_INTFCS 0
13+
#define VARIANT_SPI_INTFCS 0
14+
#define VARIANT_WIRE_INTFCS 1
15+
16+
// Add a default wire pin so that Wire is available to libraries and sketches
17+
// Since this is just a module no pins are labeled I2C/Wire/Qwiic by default
18+
// 2 pins have been chosen here arbitrarily
19+
#define VARIANT_Wire_SDA 9
20+
#define VARIANT_Wire_SCL 8
1521

1622
#endif // _VARIANT_H_

0 commit comments

Comments
 (0)