8000 Add Wire2 for CameraWire on Edge variant · EmbeddedMan/Arduino_Apollo3@3882df1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3882df1

Browse files
committed
Add Wire2 for CameraWire on Edge variant
1 parent dd03e21 commit 3882df1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

variants/SparkFun_Edge/config/variant.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,17 @@ class Uart; // Forward declaration of Uart
3434
extern Uart Serial;
3535

3636
// Wire defines
37-
#define WIRE_INTERFACES_COUNT 2
37+
#define WIRE_INTERFACES_COUNT 3
3838

3939
#define WireQwiic Wire // Giving Wire an alias of "WireQwiic" in case people want to use it
4040
#define AP3_Wire_IOM 4 // Secify that Wire uses IOMaster instance 4
4141

4242
#define WireAccel Wire1
4343
#define AP3_Wire1_IOM 3
4444

45+
#define WireCamera Wire2
46+
#define AP3_Wire1_IOM 2
47+
4548
// SPI Defines
4649
#define SPI_INTERFACES_COUNT 1
4750

0 commit comments

Comments
 (0)
0