We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 589eb29 commit 87b9097Copy full SHA for 87b9097
variants/oak/pins_arduino.h
@@ -26,6 +26,11 @@
26
#ifndef Pins_Arduino_h
27
#define Pins_Arduino_h
28
29
+#include "../generic/common.h"
30
+
31
+#define PIN_WIRE_SDA (2)
32
+#define PIN_WIRE_SCL (0)
33
34
static const uint8_t P0 = 2;
35
static const uint8_t P1 = 5;
36
static const uint8_t P2 = 0;
@@ -39,8 +44,8 @@ static const uint8_t P9 = 14;
39
44
static const uint8_t P10 = 16;
40
45
static const uint8_t P11 = 17;
41
46
42
-static const uint8_t SDA = 2;
43
-static const uint8_t SCL = 0;
47
+static const uint8_t SDA = PIN_WIRE_SDA;
48
+static const uint8_t SCL = PIN_WIRE_SCL;
49
50
static const uint8_t SS = 15;
51
static const uint8_t MOSI = 13;
0 commit comments